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

Rémi Denis-Courmont git at videolan.org
Wed Feb 1 19:35:58 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Feb  1 20:25:05 2012 +0200| [8b970ddcb0472d2d19fd8f3136be022f1b52278a] | committer: Rémi Denis-Courmont

DirectSound: do not initialize volume twice

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

 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