Commit 40c9dcb2 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

DirectX: fix libvlc_audio_output_device_count

(cherry picked from commit ff8b5ed33d6ec9fc8f2feca598f0de1c5708e9f1)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1211ce02
...@@ -130,10 +130,11 @@ vlc_module_begin () ...@@ -130,10 +130,11 @@ vlc_module_begin ()
set_subcategory( SUBCAT_AUDIO_AOUT ) set_subcategory( SUBCAT_AUDIO_AOUT )
add_shortcut( "directx", "directsound" ) add_shortcut( "directx", "directsound" )
add_string( "directx-audio-device-name", "default", add_string( "directx-audio-device", "default",
DEVICE_TEXT, DEVICE_LONGTEXT, false ) DEVICE_TEXT, DEVICE_LONGTEXT, false )
change_string_list( ppsz_adev, ppsz_adev_text, ReloadDirectXDevices ) change_string_list( ppsz_adev, ppsz_adev_text, ReloadDirectXDevices )
change_action_add( ReloadDirectXDevices, N_("Refresh list") ) change_action_add( ReloadDirectXDevices, N_("Refresh list") )
add_obsolete_string( "directx-audio-device-name")
add_bool( "directx-audio-float32", false, FLOAT_TEXT, add_bool( "directx-audio-float32", false, FLOAT_TEXT,
FLOAT_LONGTEXT, true ) FLOAT_LONGTEXT, true )
add_string( "directx-audio-speaker", "Windows default", add_string( "directx-audio-speaker", "Windows default",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment