[vlc-commits] DirectSound: fix device selection

Jean-Baptiste Kempf git at videolan.org
Wed Mar 28 01:52:21 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Mar 28 00:51:43 2012 +0200| [58a99f2a7c820d86c39a126ccd9db104156966d6] | committer: Jean-Baptiste Kempf

DirectSound: fix device selection

Close #6504 #6510 and #6511

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

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

diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c
index 1b53c6f..f74eb67 100644
--- a/modules/audio_output/directx.c
+++ b/modules/audio_output/directx.c
@@ -672,7 +672,7 @@ static int InitDirectSound( audio_output_t *p_aout )
                        "DirectSoundEnumerateW" );
     if( OurDirectSoundEnumerate )
     {
-        p_aout->sys->psz_device = var_InheritString(p_aout, "directx-audio-device-name");
+        p_aout->sys->psz_device = var_InheritString(p_aout, "directx-audio-device");
         /* Attempt enumeration */
         if( FAILED( OurDirectSoundEnumerate( CallBackDirectSoundEnum,
                                              p_aout ) ) )



More information about the vlc-commits mailing list