Thema: Delphi Lyric Show

Einzelnen Beitrag anzeigen

r2c2

Registriert seit: 9. Mai 2005
Ort: Nordbaden
925 Beiträge
 
#4

Re: Lyric Show

  Alt 26. Sep 2006, 13:01
Zitat von sailxia:
i think use a thread to Draw-Lyric will faster and spend less CPU...
Sorry, but thats IMHO wrong. A thread consumes even a bit more CPU-Time due to the overhead. The advantage of a thread is, that you can do sth. else in your programm virtually at the same time. So a thread can be useful if you have probems with the drawing while moving the window for example. But a separate thread does not mean hinger a performance in general.

So think about igel457's suggestion. DoubeBuffered could be good word for feeding google with...

BTW: I haven't looked at your code. Too lazy. It's also because I haven't worked with bass.dll yet... if you know the specific piece of code, where the problem occurs, just post it here...

Christian
Kaum macht man's richtig, schon klappts!
  Mit Zitat antworten Zitat