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
8da16971
Commit
8da16971
authored
Feb 28, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevice: add missing initializer (fixes #10775)
parent
1f337eb4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
modules/audio_output/mmdevice.c
modules/audio_output/mmdevice.c
+5
-4
No files found.
modules/audio_output/mmdevice.c
View file @
8da16971
...
...
@@ -552,7 +552,7 @@ vlc_MMNotificationClient_OnDeviceStateChanged(IMMNotificationClient *this,
}
static
STDMETHODIMP
vlc_MMNotificationClient_On
DeviceProperty
Changed
(
IMMNotificationClient
*
this
,
vlc_MMNotificationClient_On
PropertyValue
Changed
(
IMMNotificationClient
*
this
,
LPCWSTR
wid
,
const
PROPERTYKEY
key
)
{
...
...
@@ -577,7 +577,7 @@ static const struct IMMNotificationClientVtbl vlc_MMNotificationClient =
vlc_MMNotificationClient_OnDeviceAdded
,
vlc_MMNotificationClient_OnDeviceRemoved
,
vlc_MMNotificationClient_OnDefaultDeviceChange
,
vlc_MMNotificationClient_On
DeviceProperty
Changed
,
vlc_MMNotificationClient_On
PropertyValue
Changed
,
};
static
int
DevicesEnum
(
audio_output_t
*
aout
,
IMMDeviceEnumerator
*
it
)
...
...
@@ -961,6 +961,7 @@ static int Open(vlc_object_t *obj)
sys
->
aout
=
aout
;
sys
->
it
=
NULL
;
sys
->
dev
=
NULL
;
sys
->
device_events
.
lpVtbl
=
&
vlc_MMNotificationClient
;
sys
->
session_events
.
lpVtbl
=
&
vlc_AudioSessionEvents
;
sys
->
refs
=
1
;
...
...
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