change PortAudio suggested latency to 20ms, potentially fix #21897, no harm on windows
This commit is contained in:
parent
9e7d992daf
commit
fcce1dbff0
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ bool Portaudio::init()
|
|||
out.device = idx;
|
||||
out.channelCount = 2;
|
||||
out.sampleFormat = paFloat32;
|
||||
out.suggestedLatency = 0.100;
|
||||
out.suggestedLatency = 0.020;
|
||||
out.hostApiSpecificStreamInfo = 0;
|
||||
|
||||
err = Pa_OpenStream(&stream, 0, &out, double(_sampleRate), 0, 0, paCallback, (void*)this);
|
||||
|
|
Loading…
Reference in a new issue