simpleaudio-alsa: do not allow soft_resample

This commit is contained in:
Kamal Mostafa 2012-08-11 10:28:20 -07:00
parent d96edbcb4f
commit 500208ba81
1 changed files with 1 additions and 1 deletions

View File

@ -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));