[vlc-commits] commit: ALSA: remove call to deprecated snd_pcm_sw_params_set_sleep_min() ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sun Jul 18 18:49:54 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 18 19:37:09 2010 +0300| [e7c39a72714c1ff65ff7269c2c2ae8159252ecb4] | committer: Rémi Denis-Courmont 

ALSA: remove call to deprecated snd_pcm_sw_params_set_sleep_min()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e7c39a72714c1ff65ff7269c2c2ae8159252ecb4
---

 modules/audio_output/alsa.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/audio_output/alsa.c b/modules/audio_output/alsa.c
index 4642df8..2216e81 100644
--- a/modules/audio_output/alsa.c
+++ b/modules/audio_output/alsa.c
@@ -645,8 +645,6 @@ retry:
     /* Get Initial software parameters */
     snd_pcm_sw_params_current( p_sys->p_snd_pcm, p_sw );
 
-    snd_pcm_sw_params_set_sleep_min( p_sys->p_snd_pcm, p_sw, 0 );
-
     snd_pcm_sw_params_set_avail_min( p_sys->p_snd_pcm, p_sw,
                                      p_aout->output.i_nb_samples );
     /* start playing when one period has been written */



More information about the vlc-commits mailing list