> Um - I just looked at your code on launchpad and... libavg functions  
> should be called from one thread only, or everything will be very  
> unstable. Have a look at Player.setTimeout(), Player.setInterval() and  
> Player.setOnFrameHandler(). I think you can easily do everything you  
> need using these methods, without using threads.

Thanks Uli. I'll have to think about that in more detail then. The whole app 
is/will be highly threaded because of the background work it has to do 
collecting files, preparing schedules, uploading logs etc

I'd envisaged threads to control each "media item" on the layout since they're 
extensible and could need to do anything - eg iterate round loops etc - without 
causing the rest of the player to lock in any way. I'm aware of setTimeout and 
setInterval but I'm not 100% sure at the moment how I'll get it all to hang 
together.

Cheers

Alex

-- 
Alex Harrington - Network Manager
Longhill High School
t: 01273 304086 e: [email protected]

<<winmail.dat>>

_______________________________________________
libavg-users mailing list
[email protected]
https://mail.datenhain.de/mailman/listinfo/libavg-users

Reply via email to