Stopping a Sound?

Hey guys,

I’m trying to figure out how to stop a sound from playing in Joal. When I loop a sound I can stop it fine buy doing al.alSourceStop(source[0]); but when I try to do that with a sound thats not looped the sound will not stop. It will continue playing until its done…

How do I stop the sound from continuing to play?

Sorry guys … I fixed my own problem lol. Im stupid… I was trying to give the stop function the buffer number and not actually source number…