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
a66b6f96
Commit
a66b6f96
authored
Oct 25, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Nov 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Send DMUS_NOTIFICATION_SEGALMOSTEND before DMUS_NOTIFICATION_SEGEND.
parent
60538c57
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
performance.c
dlls/dmime/performance.c
+3
-3
dmime.c
dlls/dmime/tests/dmime.c
+0
-2
No files found.
dlls/dmime/performance.c
View file @
a66b6f96
...
...
@@ -1237,11 +1237,11 @@ static HRESULT WINAPI performance_PlaySegmentEx(IDirectMusicPerformance8 *iface,
hr
=
segment_state_play
(
state
,
iface
);
if
(
SUCCEEDED
(
hr
))
hr
=
performance_send_notification_pmsg
(
This
,
music_time
+
length
,
This
->
notification_segment
,
GUID_NOTIFICATION_SEGMENT
,
DMUS_NOTIFICATION_SEGEND
,
(
IUnknown
*
)
state
);
hr
=
performance_send_notification_pmsg
(
This
,
music_time
+
length
-
1450
,
This
->
notification_segment
,
GUID_NOTIFICATION_SEGMENT
,
DMUS_NOTIFICATION_SEG
ALMOST
END
,
(
IUnknown
*
)
state
);
if
(
SUCCEEDED
(
hr
))
hr
=
performance_send_notification_pmsg
(
This
,
music_time
+
length
,
This
->
notification_segment
,
GUID_NOTIFICATION_SEGMENT
,
DMUS_NOTIFICATION_SEG
ALMOST
END
,
(
IUnknown
*
)
state
);
GUID_NOTIFICATION_SEGMENT
,
DMUS_NOTIFICATION_SEGEND
,
(
IUnknown
*
)
state
);
if
(
SUCCEEDED
(
hr
))
hr
=
performance_send_pmsg
(
This
,
music_time
+
length
,
DMUS_PMSGF_TOOL_IMMEDIATE
,
DMUS_PMSGT_DIRTY
,
NULL
);
if
(
SUCCEEDED
(
hr
))
...
...
dlls/dmime/tests/dmime.c
View file @
a66b6f96
...
...
@@ -3019,8 +3019,6 @@ static void check_dmus_notification_pmsg_(int line, DMUS_NOTIFICATION_PMSG *msg,
"got dwType %#lx
\n
"
,
msg
->
dwType
);
ok_
(
__FILE__
,
line
)(
IsEqualGUID
(
&
msg
->
guidNotificationType
,
type
),
"got guidNotificationType %s
\n
"
,
debugstr_guid
(
&
msg
->
guidNotificationType
));
todo_wine_if
(
IsEqualGUID
(
type
,
&
GUID_NOTIFICATION_SEGMENT
)
&&
(
option
==
DMUS_NOTIFICATION_SEGALMOSTEND
||
option
==
DMUS_NOTIFICATION_SEGEND
))
ok_
(
__FILE__
,
line
)(
msg
->
dwNotificationOption
==
option
,
"got dwNotificationOption %#lx
\n
"
,
msg
->
dwNotificationOption
);
ok_
(
__FILE__
,
line
)(
!
msg
->
dwField1
,
"got dwField1 %lu
\n
"
,
msg
->
dwField1
);
...
...
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