[vlc-commits] aout: remove left-over audio-device callback (fixes #5273)

Rémi Denis-Courmont git at videolan.org
Wed Apr 24 21:26:21 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 24 22:25:25 2013 +0300| [932239a57b038dfbf89f8a764d52cfb0232dbc5a] | committer: Rémi Denis-Courmont

aout: remove left-over audio-device callback (fixes #5273)

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

 modules/audio_output/directx.c |    2 --
 modules/audio_output/kai.c     |    1 -
 2 files changed, 3 deletions(-)

diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c
index 36ffe89..228d800 100644
--- a/modules/audio_output/directx.c
+++ b/modules/audio_output/directx.c
@@ -467,8 +467,6 @@ static void Probe( audio_output_t * p_aout, const audio_sample_format_t *fmt )
         var_Destroy( p_aout, "audio-device" );
         return;
     }
-
-    var_AddCallback( p_aout, "audio-device", aout_ChannelsRestart, NULL );
 }
 
 /*****************************************************************************
diff --git a/modules/audio_output/kai.c b/modules/audio_output/kai.c
index 18985dc..f09c57f 100644
--- a/modules/audio_output/kai.c
+++ b/modules/audio_output/kai.c
@@ -251,7 +251,6 @@ static int Start ( audio_output_t *p_aout, audio_sample_format_t *fmt )
             val.i_int = AOUT_VAR_MONO;
         }
         var_Change( p_aout, "audio-device", VLC_VAR_SETDEFAULT, &val, NULL );
-        var_AddCallback( p_aout, "audio-device", aout_ChannelsRestart, NULL );
     }
 
     /* Prevent SIG_FPE */



More information about the vlc-commits mailing list