Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
491578ce
Commit
491578ce
authored
Nov 12, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevice: allow selecting stream back-end
parent
2d3723d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/audio_output/mmdevice.c
modules/audio_output/mmdevice.c
+3
-2
No files found.
modules/audio_output/mmdevice.c
View file @
491578ce
...
@@ -1194,7 +1194,8 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
...
@@ -1194,7 +1194,8 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
{
{
HRESULT
hr
;
HRESULT
hr
;
sys
->
module
=
vlc_module_load
(
s
,
"aout stream"
,
NULL
,
false
,
/* TODO: Do not overload the "aout" configuration item. */
sys
->
module
=
vlc_module_load
(
s
,
"aout stream"
,
"$aout"
,
false
,
aout_stream_Start
,
s
,
fmt
,
&
hr
);
aout_stream_Start
,
s
,
fmt
,
&
hr
);
if
(
hr
!=
AUDCLNT_E_DEVICE_INVALIDATED
||
DeviceSelect
(
aout
,
NULL
))
if
(
hr
!=
AUDCLNT_E_DEVICE_INVALIDATED
||
DeviceSelect
(
aout
,
NULL
))
break
;
break
;
...
@@ -1320,6 +1321,6 @@ vlc_module_begin()
...
@@ -1320,6 +1321,6 @@ vlc_module_begin()
set_capability
(
"audio output"
,
150
)
set_capability
(
"audio output"
,
150
)
set_category
(
CAT_AUDIO
)
set_category
(
CAT_AUDIO
)
set_subcategory
(
SUBCAT_AUDIO_AOUT
)
set_subcategory
(
SUBCAT_AUDIO_AOUT
)
add_shortcut
(
"wasapi"
)
add_shortcut
(
"wasapi"
,
"directsound"
)
set_callbacks
(
Open
,
Close
)
set_callbacks
(
Open
,
Close
)
vlc_module_end
()
vlc_module_end
()
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