Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
93fae688
Commit
93fae688
authored
Apr 22, 2023
by
Davide Beatrici
Committed by
Alexandre Julliard
Apr 25, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecoreaudio: Use dedicated macros to call interface functions.
parent
687d5019
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
mmdevdrv.c
dlls/winecoreaudio.drv/mmdevdrv.c
+7
-7
No files found.
dlls/winecoreaudio.drv/mmdevdrv.c
View file @
93fae688
...
...
@@ -1156,13 +1156,13 @@ static HRESULT WINAPI AudioRenderClient_QueryInterface(
static
ULONG
WINAPI
AudioRenderClient_AddRef
(
IAudioRenderClient
*
iface
)
{
ACImpl
*
This
=
impl_from_IAudioRenderClient
(
iface
);
return
AudioClient
_AddRef
(
&
This
->
IAudioClient3_iface
);
return
IAudioClient3
_AddRef
(
&
This
->
IAudioClient3_iface
);
}
static
ULONG
WINAPI
AudioRenderClient_Release
(
IAudioRenderClient
*
iface
)
{
ACImpl
*
This
=
impl_from_IAudioRenderClient
(
iface
);
return
AudioClient
_Release
(
&
This
->
IAudioClient3_iface
);
return
IAudioClient3
_Release
(
&
This
->
IAudioClient3_iface
);
}
static
HRESULT
WINAPI
AudioRenderClient_GetBuffer
(
IAudioRenderClient
*
iface
,
...
...
@@ -1509,7 +1509,7 @@ static ULONG WINAPI AudioSessionControl_Release(IAudioSessionControl2 *iface)
if
(
!
ref
){
if
(
This
->
client
){
This
->
client
->
session_wrapper
=
NULL
;
AudioClient
_Release
(
&
This
->
client
->
IAudioClient3_iface
);
IAudioClient3
_Release
(
&
This
->
client
->
IAudioClient3_iface
);
}
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
...
...
@@ -1736,13 +1736,13 @@ static HRESULT WINAPI SimpleAudioVolume_QueryInterface(
static
ULONG
WINAPI
SimpleAudioVolume_AddRef
(
ISimpleAudioVolume
*
iface
)
{
AudioSessionWrapper
*
This
=
impl_from_ISimpleAudioVolume
(
iface
);
return
AudioSessionControl
_AddRef
(
&
This
->
IAudioSessionControl2_iface
);
return
IAudioSessionControl2
_AddRef
(
&
This
->
IAudioSessionControl2_iface
);
}
static
ULONG
WINAPI
SimpleAudioVolume_Release
(
ISimpleAudioVolume
*
iface
)
{
AudioSessionWrapper
*
This
=
impl_from_ISimpleAudioVolume
(
iface
);
return
AudioSessionControl
_Release
(
&
This
->
IAudioSessionControl2_iface
);
return
IAudioSessionControl2
_Release
(
&
This
->
IAudioSessionControl2_iface
);
}
static
HRESULT
WINAPI
SimpleAudioVolume_SetMasterVolume
(
...
...
@@ -2016,13 +2016,13 @@ static HRESULT WINAPI ChannelAudioVolume_QueryInterface(
static
ULONG
WINAPI
ChannelAudioVolume_AddRef
(
IChannelAudioVolume
*
iface
)
{
AudioSessionWrapper
*
This
=
impl_from_IChannelAudioVolume
(
iface
);
return
AudioSessionControl
_AddRef
(
&
This
->
IAudioSessionControl2_iface
);
return
IAudioSessionControl2
_AddRef
(
&
This
->
IAudioSessionControl2_iface
);
}
static
ULONG
WINAPI
ChannelAudioVolume_Release
(
IChannelAudioVolume
*
iface
)
{
AudioSessionWrapper
*
This
=
impl_from_IChannelAudioVolume
(
iface
);
return
AudioSessionControl
_Release
(
&
This
->
IAudioSessionControl2_iface
);
return
IAudioSessionControl2
_Release
(
&
This
->
IAudioSessionControl2_iface
);
}
static
HRESULT
WINAPI
ChannelAudioVolume_GetChannelCount
(
...
...
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