13
0

don’t set paClipOff, have portaudio clip to -1,+1

Fixes issues with some integer drivers where overflow wraps
(values > 1.0 end up at -1, producing a hard click)
This commit is contained in:
Robin Gareus 2015-08-03 22:57:10 +02:00
parent c6a02503b4
commit 55cd20d862

View File

@ -525,7 +525,7 @@ PortAudioIO::pcm_setup (
_playback_channels > 0 ? &outputParam: NULL,
sample_rate,
samples_per_period,
paClipOff | paDitherOff,
paDitherOff,
NULL, NULL);
if (err != paNoError) {