IXAudio2SourceVoice::FlushSourceBuffer() dont remove pending audio buffers. RRS feed

  • Question

  • I call this function exactly as described (first Stop(), then FlushSourceBuffer() from the IXAudio2EngineCallback::OnProcessingPassEnd callback) to free all pending buffers, but they stay inside. Furthermore, I do not succeed, reset the voice's internal counters (SamplesPlayed). I need help.

    Wednesday, November 23, 2011 12:02 PM