simpleaudio-alsa: do not allow soft_resample
This commit is contained in:
parent
d96edbcb4f
commit
500208ba81
|
@ -129,7 +129,7 @@ simpleaudio_open_stream_alsa(
|
||||||
SND_PCM_ACCESS_RW_INTERLEAVED,
|
SND_PCM_ACCESS_RW_INTERLEAVED,
|
||||||
channels,
|
channels,
|
||||||
rate,
|
rate,
|
||||||
1 /* soft_resample (allow) */,
|
0 /* soft_resample (allow) */,
|
||||||
-1 /* latency */);
|
-1 /* latency */);
|
||||||
if (error) {
|
if (error) {
|
||||||
fprintf(stderr, "E: %s\n", snd_strerror(error));
|
fprintf(stderr, "E: %s\n", snd_strerror(error));
|
||||||
|
|
Loading…
Reference in New Issue