sound loop not wanting to end when i want{resolved}
I just finshed a program that has two buttons a Play button and a stop button. When the play button is pushed a sound is looped. After that you can press the stop button to stop it(at least this is what I want to happen).
Here is the problem:
When you click the stop button it doesnt stop the sound.
But..if you simultaneosly click the Stop button like 5-6 times it will finally stop.
(hope I made sense)
Any suggestions or comments on why the loop is not wanting to end right when the button is clicked?
If source code is needed I will gladly post it.
Thanks for any help.