[vlc-commits] DirectX: fix libvlc_audio_output_device_count

Jean-Baptiste Kempf git at videolan.org
Thu Feb 23 11:15:14 CET 2012


vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Feb 22 19:36:47 2012 +0100| [40c9dcb28a7f8a132144d183453ea42dcbb220ca] | committer: Jean-Baptiste Kempf

DirectX: fix libvlc_audio_output_device_count
(cherry picked from commit ff8b5ed33d6ec9fc8f2feca598f0de1c5708e9f1)

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

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

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

diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c
index 82fc76b..69faeab 100644
--- a/modules/audio_output/directx.c
+++ b/modules/audio_output/directx.c
@@ -130,10 +130,11 @@ vlc_module_begin ()
     set_subcategory( SUBCAT_AUDIO_AOUT )
     add_shortcut( "directx", "directsound" )
 
-    add_string( "directx-audio-device-name", "default",
+    add_string( "directx-audio-device", "default",
              DEVICE_TEXT, DEVICE_LONGTEXT, false )
         change_string_list( ppsz_adev, ppsz_adev_text, ReloadDirectXDevices )
         change_action_add( ReloadDirectXDevices, N_("Refresh list") )
+    add_obsolete_string( "directx-audio-device-name")
     add_bool( "directx-audio-float32", false, FLOAT_TEXT,
               FLOAT_LONGTEXT, true )
     add_string( "directx-audio-speaker", "Windows default",



More information about the vlc-commits mailing list