if(Mix_Playing(4])==0) Mix_PlayChannel(4,sound,0);It is set up in an infinite loop so the sound loops for infinity. However, there are times that there are "skips" in the sound and it is not constant repetition (which is bad; I need a constant buzzing noise for the bees in this game).
It is bad enough that SDL_mixer requires .wav files (which take up a lot of space) for the sounds, but now it will not even work the way I need it to. Does anyone have a suggestion for a better means of playing sounds (must be free and set up under a license so I can use it for commercial software and not have to give the creators anything)? Or at least a solution to this problem with SDL_mixer?
Thank you in advance. All help is appreciated.