From: Jean-Baptiste Kempf Date: Tue, 29 Dec 2009 13:39:18 +0000 (+0100) Subject: DirectSound: Options change X-Git-Tag: 1.1.0-ff~1635 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=acedeb2868f293edf520e21093112c6ce9039d11;p=vlc DirectSound: Options change Add an alias as "directsound" Add the deprecated option Add the change_restart_needed Signed-off-by: Jean-Baptiste Kempf --- diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c index 3b3c0ac8f6..7516cb6657 100644 --- a/modules/audio_output/directx.c +++ b/modules/audio_output/directx.c @@ -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 ) - change_string_list( ppsz_adev, ppsz_adev_text, ReloadDirectXDevices ) - change_action_add( ReloadDirectXDevices, N_("Refresh list") ) + 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,