[vlc-devel] commit: DirectSound: Options change (Jean-Baptiste Kempf )
git version control
git at videolan.org
Tue Dec 29 16:07:24 CET 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Dec 29 14:39:18 2009 +0100| [acedeb2868f293edf520e21093112c6ce9039d11] | committer: Jean-Baptiste Kempf
DirectSound: Options change
Add an alias as "directsound"
Add the deprecated option
Add the change_restart_needed
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=acedeb2868f293edf520e21093112c6ce9039d11
---
modules/audio_output/directx.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c
index 3b3c0ac..7516cb6 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,
More information about the vlc-devel
mailing list