always disable wmme clip and dither if an spdif passthrough wave format is requested

This commit is contained in:
rossb 2009-03-08 08:10:55 +00:00
commit 5bf449b175
3 changed files with 15 additions and 2 deletions

View file

@ -182,7 +182,7 @@ int main(int argc, char* argv[])
&outputParameters,
SAMPLE_RATE,
FRAMES_PER_BUFFER,
paClipOff | paDitherOff, /* IMPORTANT must disable clipping and dithering for WMME AC3 */
0,
patestCallback,
&data );
if( err != paNoError ) goto error;