simpleaudio-alsa: fix bogus latency, set 200 ms
This commit is contained in:
parent
7df0366e60
commit
c2bb5c6205
|
@ -135,7 +135,7 @@ sa_alsa_open_stream(
|
|||
channels,
|
||||
rate,
|
||||
1 /* soft_resample (allow) */,
|
||||
-1 /* latency */);
|
||||
200*1000 /* latency (200 ms) */);
|
||||
if (error) {
|
||||
fprintf(stderr, "E: %s\n", snd_strerror(error));
|
||||
snd_pcm_close(pcm);
|
||||
|
|
Loading…
Reference in New Issue