[vlc-commits] dummy: fix volume callbacks

Rémi Denis-Courmont git at videolan.org
Thu Jul 19 19:35:26 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 19 17:43:40 2012 +0300| [99693981a3139482a0c3ec3a2d205852a5d553b5] | committer: Rémi Denis-Courmont

dummy: fix volume callbacks

Amplifying dummy is useless. Also amplifying S/PDIF is not possible.

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

 modules/audio_output/adummy.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/audio_output/adummy.c b/modules/audio_output/adummy.c
index 43542ca..361a8ef 100644
--- a/modules/audio_output/adummy.c
+++ b/modules/audio_output/adummy.c
@@ -61,7 +61,8 @@ static int Open( vlc_object_t * p_this )
     p_aout->pf_play = Play;
     p_aout->pf_pause = NULL;
     p_aout->pf_flush = NULL;
-    aout_VolumeSoftInit( p_aout );
+    p_aout->volume_set = NULL;
+    p_aout->mute_set = NULL;
 
     if( AOUT_FMT_SPDIF( &p_aout->format )
      && var_InheritBool( p_this, "spdif" ) )



More information about the vlc-commits mailing list