Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8335099b
Commit
8335099b
authored
Apr 13, 2021
by
Andrew Eikum
Committed by
Alexandre Julliard
Apr 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows.media.devices: Stub DefaultAudio{Capture,Render}DeviceChanged events.
Signed-off-by:
Andrew Eikum
<
aeikum@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c767dc43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
main.c
dlls/windows.media.devices/main.c
+10
-4
No files found.
dlls/windows.media.devices/main.c
View file @
8335099b
...
...
@@ -309,7 +309,10 @@ static HRESULT WINAPI media_device_statics_add_DefaultAudioCaptureDeviceChanged(
EventRegistrationToken
*
token
)
{
FIXME
(
"iface %p, handler %p token %p stub!
\n
"
,
iface
,
handler
,
token
);
return
E_NOTIMPL
;
if
(
!
token
)
return
E_POINTER
;
token
->
value
=
1
;
return
S_OK
;
}
static
HRESULT
WINAPI
media_device_statics_remove_DefaultAudioCaptureDeviceChanged
(
...
...
@@ -317,7 +320,7 @@ static HRESULT WINAPI media_device_statics_remove_DefaultAudioCaptureDeviceChang
EventRegistrationToken
token
)
{
FIXME
(
"iface %p, token %#I64x stub!
\n
"
,
iface
,
token
.
value
);
return
E_NOTIMPL
;
return
S_OK
;
}
static
HRESULT
WINAPI
media_device_statics_add_DefaultAudioRenderDeviceChanged
(
...
...
@@ -326,7 +329,10 @@ static HRESULT WINAPI media_device_statics_add_DefaultAudioRenderDeviceChanged(
EventRegistrationToken
*
token
)
{
FIXME
(
"iface %p, handler %p token %p stub!
\n
"
,
iface
,
handler
,
token
);
return
E_NOTIMPL
;
if
(
!
token
)
return
E_POINTER
;
token
->
value
=
1
;
return
S_OK
;
}
static
HRESULT
WINAPI
media_device_statics_remove_DefaultAudioRenderDeviceChanged
(
...
...
@@ -334,7 +340,7 @@ static HRESULT WINAPI media_device_statics_remove_DefaultAudioRenderDeviceChange
EventRegistrationToken
token
)
{
FIXME
(
"iface %p, token %#I64x stub!
\n
"
,
iface
,
token
.
value
);
return
E_NOTIMPL
;
return
S_OK
;
}
static
IMediaDeviceStaticsVtbl
media_device_statics_vtbl
=
{
...
...
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