Aubin Paul wrote:
On Sat, Jul 05, 2003 at 11:25:25AM -0300, Rob Shortt wrote:

Well, it is possible but it may look slightly out of place and would definately complicate things.


I'm not sure what you mean by out of place, do you mean codewise?

I think if the counter part (labels) were GUIObject based and the rest of the player was not it would look like a hack. If the entire player screen was purely GUIObject based it would be a bit better but at this point would probably be even slower. I have some bugs to fix and some optimizing to do that will hopefully fix things up a bit.




Right, so every time the player is redrawn it also calculates every element over again? That seems like a problem in itself. Can we move the counter functionality into a seperate function or something? Every second (or iteration through the main loop) we should calculate the time then redraw, not calculate everything then redraw. We can calculate the other things (artist, album, title, track #, etc) when we change songs.


That's what I think too; we just make a special element in the XML for
refresh every time (in the XML) and just keep the coordinates of that
element seperately and refresh that, only.

Is it the refreshing that takes up so much CPU or it calculating everything to display?


-Rob



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to