Is it possible to loop a stream?
I'm playing around with sound files and I thought about looping a stream. With Sound it is no problem because of the looping property, but whar about the AudioPlayer? Is it also possible to do it?
2 Answers
-
You could try adding a listener for 'state' = STATE_STOPPED
Then trigger it to play again. -
This was also my idear, but what if the user is pushing the stop button?