I've made an app wich plays a song with 16 noteplayer (to support the 16
midi channels). It can load a midi file, play it and show the keypresses on
a virtual piano (wich you can also play yourself, but that's besides the
point). The problem is, I play the song in a thread and make it sleep until
the next command. However, with a big midi file performance goes down a bit.
If I press the mouse anywhere it suddenly gets a lot better. That's because
it starts using all availeble CPU, so the playing thread also gets a lot
more. But I wan't that to be the case always, not just when I keep the mouse
pressed. So how can I force my app to use more CPU? (the playing thread has
priority 10 btw)

Thanks in advance,
Maarten
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to