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
9b5fbb12
Commit
9b5fbb12
authored
Feb 01, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevice: IMMDevice is really only used in desktop builds
parent
8d045bd8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
modules/audio_output/mmdevice.c
modules/audio_output/mmdevice.c
+5
-1
No files found.
modules/audio_output/mmdevice.c
View file @
9b5fbb12
...
...
@@ -74,10 +74,10 @@ static wchar_t default_device[1] = L"";
struct
aout_sys_t
{
aout_stream_t
*
stream
;
/**< Underlying audio output stream */
IMMDevice
*
dev
;
/**< Selected output device, NULL if none */
#if !VLC_WINSTORE_APP
audio_output_t
*
aout
;
IMMDeviceEnumerator
*
it
;
/**< Device enumerator, NULL when exiting */
IMMDevice
*
dev
;
/**< Selected output device, NULL if none */
struct
IMMNotificationClient
device_events
;
struct
IAudioSessionEvents
session_events
;
...
...
@@ -874,7 +874,11 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
if
(
unlikely
(
s
==
NULL
))
return
-
1
;
#if !VLC_WINSTORE_APP
s
->
owner
.
device
=
sys
->
dev
;
#else
s
->
owner
.
device
=
sys
->
client
;
#endif
s
->
owner
.
activate
=
ActivateDevice
;
EnterMTA
();
...
...
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