I’ve got a problem with a stream looping continuously when it shouldn’t be.
I’m creating the sound ( a voice line, so a long stream) with normal, infinite looping.
When I create a channel, I set the channel to loop 0 (one shot).
My problem is that if I have done a seek in the sound (the user skips part of the line), then don’t call channel->stop, sometimes the sound will loop forever. I’ve tried various combinations of having the sound and channel loop or not, and only creating the sound non-looping works consistently. How does one ensure that a channel for a streamed sound won’t loop? I’ve read about seeking to flush, but that causes an audible pop.
- telltale asked 7 years ago
- You must login to post comments