Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
c4636071
Commit
c4636071
authored
Sep 21, 2008
by
Lukas Durfina
Committed by
Derk-Jan Hartman
Sep 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add deprecated aliases for audio devices
Signed-off-by:
Derk-Jan Hartman
<
hartman@videolan.org
>
parent
63fe0bf6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
0 deletions
+4
-0
modules/audio_output/alsa.c
modules/audio_output/alsa.c
+1
-0
modules/audio_output/oss.c
modules/audio_output/oss.c
+1
-0
modules/audio_output/portaudio.c
modules/audio_output/portaudio.c
+1
-0
modules/audio_output/waveout.c
modules/audio_output/waveout.c
+1
-0
No files found.
modules/audio_output/alsa.c
View file @
c4636071
...
@@ -110,6 +110,7 @@ vlc_module_begin();
...
@@ -110,6 +110,7 @@ vlc_module_begin();
set_subcategory
(
SUBCAT_AUDIO_AOUT
);
set_subcategory
(
SUBCAT_AUDIO_AOUT
);
add_string
(
"alsa-audio-device"
,
DEFAULT_ALSA_DEVICE
,
aout_FindAndRestart
,
add_string
(
"alsa-audio-device"
,
DEFAULT_ALSA_DEVICE
,
aout_FindAndRestart
,
N_
(
"ALSA Device Name"
),
NULL
,
false
);
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_string_list
(
ppsz_devices
,
ppsz_devices_text
,
FindDevicesCallback
);
change_action_add
(
FindDevicesCallback
,
N_
(
"Refresh list"
)
);
change_action_add
(
FindDevicesCallback
,
N_
(
"Refresh list"
)
);
...
...
modules/audio_output/oss.c
View file @
c4636071
...
@@ -114,6 +114,7 @@ vlc_module_begin();
...
@@ -114,6 +114,7 @@ vlc_module_begin();
set_subcategory
(
SUBCAT_AUDIO_AOUT
);
set_subcategory
(
SUBCAT_AUDIO_AOUT
);
add_file
(
"oss-audio-device"
,
"/dev/dsp"
,
aout_FindAndRestart
,
add_file
(
"oss-audio-device"
,
"/dev/dsp"
,
aout_FindAndRestart
,
N_
(
"OSS DSP device"
),
NULL
,
false
);
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
);
add_bool
(
"oss-buggy"
,
0
,
NULL
,
BUGGY_TEXT
,
BUGGY_LONGTEXT
,
true
);
set_capability
(
"audio output"
,
100
);
set_capability
(
"audio output"
,
100
);
...
...
modules/audio_output/portaudio.c
View file @
c4636071
...
@@ -112,6 +112,7 @@ vlc_module_begin();
...
@@ -112,6 +112,7 @@ vlc_module_begin();
set_subcategory
(
SUBCAT_AUDIO_AOUT
);
set_subcategory
(
SUBCAT_AUDIO_AOUT
);
add_integer
(
"portaudio-audio-device"
,
0
,
NULL
,
add_integer
(
"portaudio-audio-device"
,
0
,
NULL
,
DEVICE_TEXT
,
DEVICE_LONGTEXT
,
false
);
DEVICE_TEXT
,
DEVICE_LONGTEXT
,
false
);
add_deprecated_alias
(
"portaudio-device"
);
/* deprecated since 0.9.3 */
set_capability
(
"audio output"
,
0
);
set_capability
(
"audio output"
,
0
);
set_callbacks
(
Open
,
Close
);
set_callbacks
(
Open
,
Close
);
vlc_module_end
();
vlc_module_end
();
...
...
modules/audio_output/waveout.c
View file @
c4636071
...
@@ -172,6 +172,7 @@ vlc_module_begin();
...
@@ -172,6 +172,7 @@ vlc_module_begin();
add_string
(
"waveout-audio-device"
,
"wavemapper"
,
NULL
,
add_string
(
"waveout-audio-device"
,
"wavemapper"
,
NULL
,
DEVICE_TEXT
,
DEVICE_LONG
,
false
);
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_string_list
(
ppsz_adev
,
ppsz_adev_text
,
ReloadWaveoutDevices
);
change_need_restart
();
change_need_restart
();
change_action_add
(
ReloadWaveoutDevices
,
N_
(
"Refresh list"
)
);
change_action_add
(
ReloadWaveoutDevices
,
N_
(
"Refresh list"
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment