Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
8da38a68
Commit
8da38a68
authored
Jul 22, 2022
by
Alistair Leslie-Hughes
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xactengine3_7: Map SoundBank interfaces
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
parent
f09d7769
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
xact_dll.c
dlls/xactengine3_7/xact_dll.c
+10
-0
No files found.
dlls/xactengine3_7/xact_dll.c
View file @
8da38a68
...
...
@@ -1085,6 +1085,7 @@ static HRESULT WINAPI IXACT3EngineImpl_CreateSoundBank(IXACT3Engine *iface,
XACT3SoundBankImpl
*
sb
;
FACTSoundBank
*
fsb
;
UINT
ret
;
HRESULT
hr
;
TRACE
(
"(%p)->(%p, %lu, 0x%lx, 0x%lx, %p): stub!
\n
"
,
This
,
pvBuffer
,
dwSize
,
dwFlags
,
dwAllocAttributes
,
ppSoundBank
);
...
...
@@ -1105,6 +1106,15 @@ static HRESULT WINAPI IXACT3EngineImpl_CreateSoundBank(IXACT3Engine *iface,
return
E_OUTOFMEMORY
;
}
hr
=
wrapper_add_entry
(
This
,
fsb
,
&
sb
->
IXACT3SoundBank_iface
);
if
(
FAILED
(
hr
))
{
FACTSoundBank_Destroy
(
fsb
);
HeapFree
(
GetProcessHeap
(),
0
,
sb
);
ERR
(
"Failed to allocate wrapper_lookup!
\n
"
);
return
E_OUTOFMEMORY
;
}
sb
->
IXACT3SoundBank_iface
.
lpVtbl
=
&
XACT3SoundBank_Vtbl
;
sb
->
fact_soundbank
=
fsb
;
*
ppSoundBank
=
&
sb
->
IXACT3SoundBank_iface
;
...
...
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