Original Post
Hello everyone.
I'm using DirectSound api to play a wave file in an application. Everything is works just fine but the buffer's position resets to 0 when the sound reaches the end. I'm using IDIRECTSOUND::Play(0, 0, 0) to play the audio data.
Is there a way to modify that behaviour so that the buffer stays at the end when the sound stops ?
I'm using DirectSound api to play a wave file in an application. Everything is works just fine but the buffer's position resets to 0 when the sound reaches the end. I'm using IDIRECTSOUND::Play(0, 0, 0) to play the audio data.
Is there a way to modify that behaviour so that the buffer stays at the end when the sound stops ?