Commit c4636071 authored by lukas.durfina's avatar lukas.durfina Committed by hartman

add deprecated aliases for audio devices

Signed-off-by: hartman's avatarDerk-Jan Hartman <hartman@videolan.org>
parent 63fe0bf6
......@@ -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") );
......
......@@ -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 );
......
......@@ -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();
......
......@@ -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") );
......
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