views:

46

answers:

1

How can I start/stop audio looping in IXAudio2SourceVoice?

Basically it has a start/stop which starts and pauses the audio execution as well as an ExitLoop() function which stpos the audio once it has finished playing. What I'd like to do is call 'ExitLoop()' then at a later time restart the looping process. How can I do this?

+1  A: 

It seems the only way that can be done is by submitting buffers to the source voice... was hopig there was a more simplistic way but apparently not so guess I'll just write a wrapper for it.

meds