vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sat Sep 28 
11:21:26 2013 +0300| [cbf64179a2cee2e26269d2baf5f7e1de7b0ae062] | committer: 
Rémi Denis-Courmont

Qt4: use canonical name of the DirectSound module

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

 modules/gui/qt4/components/simple_preferences.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp 
b/modules/gui/qt4/components/simple_preferences.cpp
index 99a3dfa..cd820bb 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -482,7 +482,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget 
*_parent,
             module_exists( name ) && ( !psz_aout || !strcmp( psz_aout, name ) 
|| !strcmp( psz_aout, "any" ) )
 
 #if defined( _WIN32 )
-            if( get_vol_aout( "directx" ) )
+            if( get_vol_aout( "directsound" ) )
                 i_volume = config_GetFloat( p_intf, "directx-volume") * 100 + 
0.5;
             else if( get_vol_aout( "waveout" ) )
                 i_volume = config_GetFloat( p_intf, "waveout-volume") * 100 + 
0.5;
@@ -1074,7 +1074,7 @@ void SPrefsPanel::apply()
         //FIXME this is moot
 #if defined( _WIN32 )
         VLC_UNUSED( f_gain );
-        if( save_vol_aout( "directx" ) )
+        if( save_vol_aout( "directsound" ) )
             config_PutFloat( p_intf, "directx-volume", i_volume / 100.f );
         if( save_vol_aout( "waveout" ) )
             config_PutFloat( p_intf, "waveout-volume", i_volume / 100.f );

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to