On Mon Apr 21 01:21:55 2025 +0000, Nikolay Sivov wrote:
I think what's missing is an audio client Reset(). We currently do Stop+Reset when the clock is stopped, and just Stop when the clock is paused. We don't Reset on pause so we don't lose pending data. But when we restart from at a different timestamp I think we should.
I agree, we do need that. When testing on Windows, it looks like that might be done in `Flush`. And it looks like `Flush` needs to be called explicitly (i.e. it is not done implicitly with a call to `IMFClockStateSink::OnClockStart`). So I've added a commit which does exactly that.