Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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?

— asked May 17th 2010 by Robert Ölei
  • audioplayer
  • looping
  • sound
0 Comments

2 Answers

  • You could try adding a listener for 'state' = STATE_STOPPED
    Then trigger it to play again.

    — answered May 17th 2010 by Kosso
    permalink
    0 Comments
  • This was also my idear, but what if the user is pushing the stop button?

    — answered May 18th 2010 by Robert Ölei
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.