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
22018db1
Commit
22018db1
authored
Apr 22, 2023
by
Davide Beatrici
Committed by
Alexandre Julliard
Apr 25, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineoss: Use dedicated macros to call interface functions.
parent
93fae688
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
mmdevdrv.c
dlls/wineoss.drv/mmdevdrv.c
+8
-8
No files found.
dlls/wineoss.drv/mmdevdrv.c
View file @
22018db1
...
...
@@ -1147,13 +1147,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
,
...
...
@@ -1459,7 +1459,7 @@ static AudioSessionWrapper *AudioSessionWrapper_Create(ACImpl *client)
ret
->
client
=
client
;
if
(
client
){
ret
->
session
=
client
->
session
;
AudioClient
_AddRef
(
&
client
->
IAudioClient3_iface
);
IAudioClient3
_AddRef
(
&
client
->
IAudioClient3_iface
);
}
return
ret
;
...
...
@@ -1507,7 +1507,7 @@ static ULONG WINAPI AudioSessionControl_Release(IAudioSessionControl2 *iface)
sessions_lock
();
This
->
client
->
session_wrapper
=
NULL
;
sessions_unlock
();
AudioClient
_Release
(
&
This
->
client
->
IAudioClient3_iface
);
IAudioClient3
_Release
(
&
This
->
client
->
IAudioClient3_iface
);
}
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
...
...
@@ -1732,13 +1732,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
(
...
...
@@ -2011,13 +2011,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