[libavg-users] RuntimeError: Error in conversion of '' to double

Alex Harrington alex at longhill.org.uk
Mon Apr 27 22:46:04 CEST 2009


> 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: alex at longhill.org.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3373 bytes
Desc: not available
Url : http://mail.datenhain.de/pipermail/libavg-users/attachments/20090427/7f3a0ac8/attachment.bin 


More information about the libavg-users mailing list