mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-08 14:13:57 +01:00
Set Nyquist default latency to 100 ms
The default for Standalone Nyquist is a very conservative 300 ms, but that's too long when using ALSA (see bug 570), so use 100 ms default (same as Audacity).
This commit is contained in:
@@ -883,6 +883,11 @@ bool NyquistEffect::ProcessOne()
|
||||
|
||||
wxString cmd;
|
||||
|
||||
// TODO: Document.
|
||||
// Nyquist default latency is 300 ms, which is rather conservative and
|
||||
// too long when playback set to ALSA (bug 570), so we'll use 100 ms like Audacity.
|
||||
cmd += wxT("(snd-set-latency 0.1)");
|
||||
|
||||
if (mVersion >= 4) {
|
||||
nyx_set_audio_name("*TRACK*");
|
||||
cmd += wxT("(setf S 0.25)\n");
|
||||
|
||||
Reference in New Issue
Block a user