diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2010-10-26 16:36:34 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2010-10-26 16:36:34 +0800 |
commit | 77530c5c158d1fbb45bc4f51198eb6b57a222e79 (patch) | |
tree | 6fc9d78fe372c826429fa3cbe8c741b155bf2359 /src | |
parent | 5e718520be87fa220e67802d39d807457c50bbd8 (diff) |
alsa: don't set silence size to infinite
Diffstat (limited to 'src')
-rw-r--r-- | src/device_alsa.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/device_alsa.cpp b/src/device_alsa.cpp index 00487ed..b727825 100644 --- a/src/device_alsa.cpp +++ b/src/device_alsa.cpp @@ -141,15 +141,6 @@ namespace audiere { return 0; } -#if SND_LIB_VERSION >= 0x000901 - status = snd_pcm_sw_params_set_silence_size(pcm_handle, swparams, - boundary); - if (status < 0) { - ADR_LOG("Coudn't set silence size."); - snd_pcm_close(pcm_handle); - return 0; - } -#endif status = snd_pcm_sw_params(pcm_handle, swparams); if (status < 0) { ADR_LOG("Couldn't set audio device parameters."); |