simpleaudio-alsa: use default latency, not minimum
This commit is contained in:
parent
deed39904d
commit
2baf78cba6
|
@ -130,7 +130,7 @@ simpleaudio_open_stream_alsa(
|
||||||
channels,
|
channels,
|
||||||
rate,
|
rate,
|
||||||
1 /* soft_resample (allow) */,
|
1 /* soft_resample (allow) */,
|
||||||
0 /* latency */);
|
-1 /* latency */);
|
||||||
if (error) {
|
if (error) {
|
||||||
fprintf(stderr, "E: %s\n", snd_strerror(error));
|
fprintf(stderr, "E: %s\n", snd_strerror(error));
|
||||||
snd_pcm_close(pcm);
|
snd_pcm_close(pcm);
|
||||||
|
|
Loading…
Reference in New Issue