Michael Stefaniuc (@mstefani) commented about dlls/dmime/performance.c:
DMUS_PMSGT_DIRTY, NULL)))
return hr;
- return S_OK;
+}
+HRESULT performance_send_segment_tick(IDirectMusicPerformance8 *iface, MUSIC_TIME music_time,
IDirectMusicSegmentState *state)
+{
- struct performance *This = impl_from_IDirectMusicPerformance8(iface);
- REFERENCE_TIME time;
- HRESULT hr;
- if (FAILED(hr = IDirectMusicPerformance8_MusicToReferenceTime(iface, music_time, &time)))
return hr;
- if (FAILED(hr = IDirectMusicPerformance8_ReferenceToMusicTime(iface, time + 2000000, &music_time)))
What's the magic number `2000000` ?