Commit acedeb28 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

DirectSound: Options change

Add an alias as "directsound"
Add the deprecated option
Add the change_restart_needed
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 0c2e5091
......@@ -131,10 +131,14 @@ vlc_module_begin ()
set_category( CAT_AUDIO )
set_subcategory( SUBCAT_AUDIO_AOUT )
add_shortcut( "directx" )
add_shortcut( "directsound" )
add_string( "directx-audio-device-name", "default", NULL,
DEVICE_TEXT, DEVICE_LONGTEXT, false )
add_deprecated_alias( "directx-audio-device" ) /* Since 1.1.0 */
change_string_list( ppsz_adev, ppsz_adev_text, ReloadDirectXDevices )
change_action_add( ReloadDirectXDevices, N_("Refresh list") )
change_need_restart ()
add_bool( "directx-audio-float32", false, NULL, FLOAT_TEXT,
FLOAT_LONGTEXT, true )
add_string( "directx-audio-speaker", "Windows default", NULL,
......
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