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
36366de5
Commit
36366de5
authored
Aug 07, 2020
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Aug 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xactengine3_7: Don't cast interface pointers.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
07f4a7ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
xact_dll.c
dlls/xactengine3_7/xact_dll.c
+5
-5
No files found.
dlls/xactengine3_7/xact_dll.c
View file @
36366de5
...
...
@@ -547,7 +547,7 @@ static HRESULT WINAPI IXACT3WaveBankImpl_Prepare(IXACT3WaveBank *iface,
wave
->
IXACT3Wave_iface
.
lpVtbl
=
&
XACT3Wave_Vtbl
;
wave
->
fact_wave
=
fwave
;
*
ppWave
=
(
IXACT3Wave
*
)
wav
e
;
*
ppWave
=
&
wave
->
IXACT3Wave_ifac
e
;
TRACE
(
"Created Wave: %p
\n
"
,
wave
);
...
...
@@ -589,7 +589,7 @@ static HRESULT WINAPI IXACT3WaveBankImpl_Play(IXACT3WaveBank *iface,
wave
->
IXACT3Wave_iface
.
lpVtbl
=
&
XACT3Wave_Vtbl
;
wave
->
fact_wave
=
fwave
;
*
ppWave
=
(
IXACT3Wave
*
)
wav
e
;
*
ppWave
=
&
wave
->
IXACT3Wave_ifac
e
;
}
return
hr
;
...
...
@@ -844,7 +844,7 @@ static HRESULT WINAPI IXACT3EngineImpl_CreateSoundBank(IXACT3Engine *iface,
sb
->
IXACT3SoundBank_iface
.
lpVtbl
=
&
XACT3SoundBank_Vtbl
;
sb
->
fact_soundbank
=
fsb
;
*
ppSoundBank
=
(
IXACT3SoundBank
*
)
sb
;
*
ppSoundBank
=
&
sb
->
IXACT3SoundBank_iface
;
TRACE
(
"Created SoundBank: %p
\n
"
,
sb
);
...
...
@@ -881,7 +881,7 @@ static HRESULT WINAPI IXACT3EngineImpl_CreateInMemoryWaveBank(IXACT3Engine *ifac
wb
->
IXACT3WaveBank_iface
.
lpVtbl
=
&
XACT3WaveBank_Vtbl
;
wb
->
fact_wavebank
=
fwb
;
*
ppWaveBank
=
(
IXACT3WaveBank
*
)
wb
;
*
ppWaveBank
=
&
wb
->
IXACT3WaveBank_iface
;
TRACE
(
"Created in-memory WaveBank: %p
\n
"
,
wb
);
...
...
@@ -929,7 +929,7 @@ static HRESULT WINAPI IXACT3EngineImpl_CreateStreamingWaveBank(IXACT3Engine *ifa
wb
->
IXACT3WaveBank_iface
.
lpVtbl
=
&
XACT3WaveBank_Vtbl
;
wb
->
fact_wavebank
=
fwb
;
*
ppWaveBank
=
(
IXACT3WaveBank
*
)
wb
;
*
ppWaveBank
=
&
wb
->
IXACT3WaveBank_iface
;
TRACE
(
"Created streaming WaveBank: %p
\n
"
,
wb
);
...
...
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