Skip to main content
gamedev.net
🔒 Locked

Position in a DirectSoundBuffer resets to 0 when the buffer reach the end

Started by Laval B 0 replies 650+ views
Original Post
Laval B
Laval B
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 ?
We think in generalities, but we live in details.
  - Alfred North Whitehead

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.