Remove downmix to stereo workaround.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36034 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
David McPaul 2010-04-05 11:37:43 +00:00
parent 369111e741
commit 63f8d1346e

View File

@ -236,15 +236,6 @@ AC3Decoder::Setup(media_format *ioEncodedFormat,
return B_ERROR;
}
// Currently the liba52 library will remix for us
// TODO When AudioChannelConverter can handle more than 1 or 2 channels the below code can be removed
fFlags = A52_STEREO & A52_CHANNEL_MASK;
fChannelCount = 2;
fChannelMask = B_CHANNEL_LEFT | B_CHANNEL_RIGHT;
static int nrm_offsets[6] = { 0, 1 };
fInterleaveOffset = nrm_offsets;
return B_OK;
}