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
553b124d
Commit
553b124d
authored
May 16, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wasapi: fallback to DirectX while S/PDIF is unimplemented
parent
5a0c690f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
modules/audio_output/wasapi.c
modules/audio_output/wasapi.c
+5
-0
No files found.
modules/audio_output/wasapi.c
View file @
553b124d
...
@@ -252,6 +252,11 @@ static int Open(vlc_object_t *obj)
...
@@ -252,6 +252,11 @@ static int Open(vlc_object_t *obj)
audio_output_t
*
aout
=
(
audio_output_t
*
)
obj
;
audio_output_t
*
aout
=
(
audio_output_t
*
)
obj
;
HRESULT
hr
;
HRESULT
hr
;
if
(
AOUT_FMT_SPDIF
(
&
aout
->
format
)
&&
!
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
));
aout_sys_t
*
sys
=
malloc
(
sizeof
(
*
sys
));
if
(
unlikely
(
sys
==
NULL
))
if
(
unlikely
(
sys
==
NULL
))
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
...
...
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