Mixer issue - sample speeding up

i have a backround sound about 30 seconds long that just makes industial esq
ranom noises, it just start playing at the start of the level on a loop, yet
sometimes (usually after the game plays a different sound) it starts playing
itself a lot faster… is there any reason why this may occur that i could

running with SDL libaries of version in debian testing. whatver that is.

I’m sure its just my code is a little too shonk.