SDL_Mixer: Determining the amount of loops in a sound

When playing a sound with Mix_PlayChannel(chan, chunk, -1) (for infinite
looping), is there a way to get the number of loops performed when
calling Mix_HaltChannel()?

Nikos Chantziaras wrote:

When playing a sound with Mix_PlayChannel(chan, chunk, -1) (for infinite
looping), is there a way to get the number of loops performed when
calling Mix_HaltChannel()?

I don’t know but if you know the loop duration you can use a timer.

MandarX------------------------
http://mandarx.xoom.it/index.php?lang=eng