[vlc-devel] commit: add deprecated aliases for audio devices (Lukas Durfina )
git version control
git at videolan.org
Tue Sep 23 22:01:42 CEST 2008
vlc | branch: master | Lukas Durfina <lukas.durfina at gmail.com> | Sun Sep 21 16:18:09 2008 +0200| [c46360714d1a1b8eccb765a19a73700f20e68eb6] | committer: Derk-Jan Hartman
add deprecated aliases for audio devices
Signed-off-by: Derk-Jan Hartman <hartman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c46360714d1a1b8eccb765a19a73700f20e68eb6
---
modules/audio_output/alsa.c | 1 +
modules/audio_output/oss.c | 1 +
modules/audio_output/portaudio.c | 1 +
modules/audio_output/waveout.c | 1 +
4 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/audio_output/alsa.c b/modules/audio_output/alsa.c
index 658d6ba..2a0f46d 100644
--- a/modules/audio_output/alsa.c
+++ b/modules/audio_output/alsa.c
@@ -110,6 +110,7 @@ vlc_module_begin();
set_subcategory( SUBCAT_AUDIO_AOUT );
add_string( "alsa-audio-device", DEFAULT_ALSA_DEVICE, aout_FindAndRestart,
N_("ALSA Device Name"), NULL, false );
+ add_deprecated_alias( "alsadev" ); /* deprecated since 0.9.3 */
change_string_list( ppsz_devices, ppsz_devices_text, FindDevicesCallback );
change_action_add( FindDevicesCallback, N_("Refresh list") );
diff --git a/modules/audio_output/oss.c b/modules/audio_output/oss.c
index ee636f7..2b3de84 100644
--- a/modules/audio_output/oss.c
+++ b/modules/audio_output/oss.c
@@ -114,6 +114,7 @@ vlc_module_begin();
set_subcategory( SUBCAT_AUDIO_AOUT );
add_file( "oss-audio-device", "/dev/dsp", aout_FindAndRestart,
N_("OSS DSP device"), NULL, false );
+ add_deprecated_alias( "dspdev" ); /* deprecated since 0.9.3 */
add_bool( "oss-buggy", 0, NULL, BUGGY_TEXT, BUGGY_LONGTEXT, true );
set_capability( "audio output", 100 );
diff --git a/modules/audio_output/portaudio.c b/modules/audio_output/portaudio.c
index 9229ac7..6256e75 100644
--- a/modules/audio_output/portaudio.c
+++ b/modules/audio_output/portaudio.c
@@ -112,6 +112,7 @@ vlc_module_begin();
set_subcategory( SUBCAT_AUDIO_AOUT );
add_integer( "portaudio-audio-device", 0, NULL,
DEVICE_TEXT, DEVICE_LONGTEXT, false );
+ add_deprecated_alias( "portaudio-device" ); /* deprecated since 0.9.3 */
set_capability( "audio output", 0 );
set_callbacks( Open, Close );
vlc_module_end();
diff --git a/modules/audio_output/waveout.c b/modules/audio_output/waveout.c
index 9ade8d2..26d8781 100644
--- a/modules/audio_output/waveout.c
+++ b/modules/audio_output/waveout.c
@@ -172,6 +172,7 @@ vlc_module_begin();
add_string( "waveout-audio-device", "wavemapper", NULL,
DEVICE_TEXT, DEVICE_LONG, false );
+ add_deprecated_alias( "waveout-dev" ); /* deprecated since 0.9.3 */
change_string_list( ppsz_adev, ppsz_adev_text, ReloadWaveoutDevices );
change_need_restart();
change_action_add( ReloadWaveoutDevices, N_("Refresh list") );
More information about the vlc-devel
mailing list