Nikolay Sivov (@nsivov) commented about dlls/mf/sar.c:
EnterCriticalSection(&renderer->cs); if (renderer->audio_client) {
if (renderer->state == STREAM_STATE_STOPPED)
if (renderer->state == STREAM_STATE_PAUSED || renderer->state == STREAM_STATE_STOPPED) { if (FAILED(hr = IAudioClient_Start(renderer->audio_client))) WARN("Failed to start audio client, hr %#lx.\n", hr);
I think the idea here is that restart happens with OnClockRestart(). When is it not the case?