Commit 25a34498 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

dmime: Pass PlaySegmentEx start time as track time offset.

parent c227e8bb
......@@ -278,8 +278,8 @@ HRESULT segment_state_play(IDirectMusicSegmentState *iface, IDirectMusicPerforma
LIST_FOR_EACH_ENTRY(entry, &This->tracks, struct track_entry, entry)
{
if (FAILED(hr = IDirectMusicTrack_Play(entry->track, entry->state_data, start_time,
end_time, 0, track_flags, (IDirectMusicPerformance *)performance, iface, entry->track_id)))
if (FAILED(hr = IDirectMusicTrack_Play(entry->track, entry->state_data, start_time, end_time,
This->start_time, track_flags, (IDirectMusicPerformance *)performance, iface, entry->track_id)))
{
WARN("Failed to play track %p, hr %#lx\n", entry->track, hr);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment