I've only just started figuring out playing .wav files with DirectX 8.
We have the option to PLAY the SOUND / LOOP ALL of the sound, but I haven't figured out how i could play and then Loop certain points within the wav?

This should show what I'm trying to achieve.

https://imgur.com/a/tEVUW3o

Any help appreciated.