Commit ffd4a01e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

DTS: fix mono and dual-mono samples playback

parent 13672537
......@@ -665,10 +665,12 @@ static int SyncInfo( const uint8_t *p_buf,
{
case 0x0:
/* Mono */
*pi_channels = 1;
*pi_channels_conf = AOUT_CHAN_CENTER;
break;
case 0x1:
/* Dual-mono = stereo + dual-mono */
*pi_channels = 2;
*pi_channels_conf = AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT |
AOUT_CHAN_DUALMONO;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment