Hi there,
I’ve never played that much with SDL_mixer or mostly to do basic things. For now I’m trying to figure out a simple way to detect that all sounds have been played entirely.
For example, let say I open two sounds which are 3 seconds and 5 seconds respectively.
If I start playing them using Mix_PlayChannel I can specify a channel, but I’ve always used -1 because I didn’t care that much. I must say that I have a very bare knowledges about use of channels. What will be the easiest way to know when those sounds finished playing? Using Mix_Playing?
What is the usual way of using them? Like having a channel for sounds effects? One for user interaction? One for gameplay?
I’m also trying to understand when to use channels and groups.
Any help is appreciated.