[vlc-commits] DirectSound: do not initialize volume twice

Rémi Denis-Courmont git at videolan.org
Wed Feb 1 22:42:37 CET 2012


vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Feb  1 20:25:05 2012 +0200| [3af824fcb5e6541d8dc497aa88dd0f0ebd2bb817] | committer: Jean-Baptiste Kempf

DirectSound: do not initialize volume twice
(cherry picked from commit 8b970ddcb0472d2d19fd8f3136be022f1b52278a)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c
index b5d7b7e..82fc76b 100644
--- a/modules/audio_output/directx.c
+++ b/modules/audio_output/directx.c
@@ -164,8 +164,6 @@ static int OpenAudio( vlc_object_t *p_this )
     if( unlikely( p_aout->sys == NULL ) )
         return VLC_ENOMEM;
 
-    aout_VolumeSoftInit( p_aout );
-
     /* Retrieve config values */
     var_Create( p_aout, "directx-audio-float32",
                 VLC_VAR_BOOL | VLC_VAR_DOINHERIT );



More information about the vlc-commits mailing list