Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
30dcfdd0
Commit
30dcfdd0
authored
Feb 05, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MMDevice: only WASAPI lacks S/PDIF support so far (refs #6827)
parent
36f9c403
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
modules/audio_output/mmdevice.c
modules/audio_output/mmdevice.c
+1
-5
modules/audio_output/wasapi.c
modules/audio_output/wasapi.c
+4
-0
No files found.
modules/audio_output/mmdevice.c
View file @
30dcfdd0
...
...
@@ -939,10 +939,6 @@ static int Open(vlc_object_t *obj)
{
audio_output_t
*
aout
=
(
audio_output_t
*
)
obj
;
if
(
!
aout
->
b_force
&&
var_InheritBool
(
aout
,
"spdif"
))
/* Fallback to other plugin until pass-through is implemented */
return
VLC_EGENERIC
;
aout_sys_t
*
sys
=
malloc
(
sizeof
(
*
sys
));
if
(
unlikely
(
sys
==
NULL
))
return
VLC_ENOMEM
;
...
...
@@ -1047,7 +1043,7 @@ static void Close(vlc_object_t *obj)
vlc_module_begin
()
set_shortname
(
"MMDevice"
)
set_description
(
N_
(
"Windows Multimedia Device output"
))
set_capability
(
"audio output"
,
/*150*/
0
)
set_capability
(
"audio output"
,
15
0
)
#if VLC_WINSTORE_APP
/* Pointer to the activated AudioClient* */
add_integer
(
"mmdevice-audioclient"
,
0x0
,
NULL
,
NULL
,
true
);
...
...
modules/audio_output/wasapi.c
View file @
30dcfdd0
...
...
@@ -313,6 +313,10 @@ static unsigned vlc_CheckWaveOrder (const WAVEFORMATEX *restrict wf,
static
HRESULT
Start
(
aout_stream_t
*
s
,
audio_sample_format_t
*
restrict
fmt
,
const
GUID
*
sid
)
{
if
(
!
s
->
b_force
&&
var_InheritBool
(
s
,
"spdif"
))
/* Fallback to other plugin until pass-through is implemented */
return
E_NOTIMPL
;
aout_stream_sys_t
*
sys
=
malloc
(
sizeof
(
*
sys
));
if
(
unlikely
(
sys
==
NULL
))
return
E_OUTOFMEMORY
;
...
...
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