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:
parent
c6a02503b4
commit
55cd20d862
@ -525,7 +525,7 @@ PortAudioIO::pcm_setup (
|
|||||||
_playback_channels > 0 ? &outputParam: NULL,
|
_playback_channels > 0 ? &outputParam: NULL,
|
||||||
sample_rate,
|
sample_rate,
|
||||||
samples_per_period,
|
samples_per_period,
|
||||||
paClipOff | paDitherOff,
|
paDitherOff,
|
||||||
NULL, NULL);
|
NULL, NULL);
|
||||||
|
|
||||||
if (err != paNoError) {
|
if (err != paNoError) {
|
||||||
|
Loading…
Reference in New Issue
Block a user