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
d330e445
Commit
d330e445
authored
Oct 23, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Oct 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmband: Use time_offset to align track start with music time.
parent
25a34498
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
bandtrack.c
dlls/dmband/bandtrack.c
+3
-3
No files found.
dlls/dmband/bandtrack.c
View file @
d330e445
...
...
@@ -174,7 +174,6 @@ static HRESULT WINAPI band_track_Play(IDirectMusicTrack8 *iface, void *state_dat
if
(
start_time
!=
0
)
FIXME
(
"start_time %ld not implemented
\n
"
,
start_time
);
if
(
end_time
!=
-
1
)
FIXME
(
"end_time %ld not implemented
\n
"
,
end_time
);
if
(
time_offset
!=
0
)
FIXME
(
"time_offset %ld not implemented
\n
"
,
time_offset
);
if
(
segment_flags
)
FIXME
(
"segment_flags %#lx not implemented
\n
"
,
segment_flags
);
if
(
segment_state
)
FIXME
(
"segment_state %p not implemented
\n
"
,
segment_state
);
...
...
@@ -184,8 +183,9 @@ static HRESULT WINAPI band_track_Play(IDirectMusicTrack8 *iface, void *state_dat
LIST_FOR_EACH_ENTRY
(
entry
,
&
This
->
bands
,
struct
band_entry
,
entry
)
{
if
(
FAILED
(
hr
=
band_send_messages
(
entry
->
band
,
performance
,
graph
,
entry
->
head
.
lBandTimeLogical
,
track_id
)))
MUSIC_TIME
music_time
=
entry
->
head
.
lBandTimeLogical
;
if
(
music_time
!=
-
1
)
music_time
+=
time_offset
;
if
(
FAILED
(
hr
=
band_send_messages
(
entry
->
band
,
performance
,
graph
,
music_time
,
track_id
)))
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