- streamID
- a streamID returned by the play() function
- loop
- loop mode (0 = no loop, -1 = loop forever)
Set loop mode. Change the loop mode. A loop value of -1 means loop forever, a value of 0 means don't loop, other values indicate the number of repeats, e.g. a value of 1 plays the audio twice. If the stream does not exist, it will have no effect.