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
16f9bfd2
Commit
16f9bfd2
authored
Sep 25, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Oct 11, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Play direct sound buffer from DMUS_PMSGT_WAVE message.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=9027
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=34751
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=45135
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=48220
parent
edad7809
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
performance.c
dlls/dmime/performance.c
+6
-1
No files found.
dlls/dmime/performance.c
View file @
16f9bfd2
...
...
@@ -1631,6 +1631,7 @@ static HRESULT WINAPI performance_tool_ProcessPMsg(IDirectMusicTool *iface,
{
struct
performance
*
This
=
impl_from_IDirectMusicTool
(
iface
);
struct
message
*
message
=
message_from_DMUS_PMSG
(
msg
);
HRESULT
hr
;
FIXME
(
"(%p, %p, %p): semi-stub
\n
"
,
This
,
performance
,
msg
);
...
...
@@ -1641,7 +1642,6 @@ static HRESULT WINAPI performance_tool_ProcessPMsg(IDirectMusicTool *iface,
DMUS_NOTIFICATION_PMSG
*
notif
=
(
DMUS_NOTIFICATION_PMSG
*
)
msg
;
struct
message
*
previous
;
BOOL
enabled
=
FALSE
;
HRESULT
hr
;
if
(
IsEqualGUID
(
&
notif
->
guidNotificationType
,
&
GUID_NOTIFICATION_SEGMENT
)
&&
notif
->
dwNotificationOption
==
DMUS_NOTIFICATION_SEGEND
)
...
...
@@ -1671,6 +1671,11 @@ static HRESULT WINAPI performance_tool_ProcessPMsg(IDirectMusicTool *iface,
return
S_OK
;
}
case
DMUS_PMSGT_WAVE
:
if
(
FAILED
(
hr
=
IDirectSoundBuffer_Play
((
IDirectSoundBuffer
*
)
msg
->
punkUser
,
0
,
0
,
0
)))
WARN
(
"Failed to play wave buffer, hr %#lx
\n
"
,
hr
);
break
;
default:
FIXME
(
"Unhandled message type %#lx
\n
"
,
msg
->
dwType
);
break
;
...
...
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