Chili Sound Pack

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
cat_minim
Posts: 1
Joined: June 2nd, 2022, 10:01 am

Chili Sound Pack

Post by cat_minim » June 2nd, 2022, 10:12 am

hi I am using Chili Sound Pack don't know if it's still supported but it works fine. however I found an issue when playing 3 or more of the same looping sounds and then calling StopOne() on each of them in sequence, sometime stop() is called more than once on the same channel. this I think is because the channel hasn't been yet removed from the vector of channels and put back into the pool. the result is sometimes a channel will continue to play when you intended it to stop. I added a bool flag to the channel class "stopped" initialised to false. check this flag and set it in StopOne(). if it's already set then Stop() the next channel in the vector. also set it to false when playing the sound.

Post Reply