Player object and memory
Peter T. Evensen
pevensen at siboneylg.com
Thu Mar 9 13:18:50 EST 2006
Still hangs, even if I set the filename to empty. I did this:
lock messages
set the filename of the target to empty
set the filename of the target to the first item of tCurrentSoundList
unlock messages
Is that what you had in mind?
Any other suggestions? This is becoming a show-stopper. I couldn't get a
SMIL file to work over the network. It wouldn't play all the files (it
would skip some to keep up).
At 11:45 AM 3/9/2006, you wrote:
>Recently, Peter T. Evensen wrote:
>
> > I am trying to play a sequence of MP3s. I am using 3 interleaved players
> > to speed up the transition between the sounds. I set up the first 3 sounds
> > on Player 1 - Player 3. I then start Player 1 and when I get a playStopped
> > message, I start Player 2 and set the filename for Player 1 to the next
> > sound file for that player (if there is one). Is there any memory
> > management issues I need to be aware of? My stack freezes eventually on
> > XP, both as a standalone, and in the IDE.
>
>You might try setting the fileName of each player to empty before setting
>new fileNames. I had an issue way back that was alleviated by doing this --
>it might help in your situation.
>
>Also, you might make sure that no playStopped message is being sent when
>*setting* the fileName of a player. This was a bug some time ago that
>caused some frustration -- don't know if it was ever fixed, but even if it
>is still present, I can't say if it would be a problem in your situation.
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, Multimedia & Design
>-----
>E: scott at tactilemedia.com
>W: http://www.tactilemedia.com
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-628-4588
More information about the use-livecode
mailing list