|
I'm running WinXP Pro, and explorer gets 00% CPU here. >if you've written the windows poll loop right it'll give it the time the program does't use That's the problem. I couldn't think of a good way to regulate the speed to 60Hz, so I'm checking the sound buffer play cursor in order to determine when a frame has passed. This makes Nessie go into an idle loop, waiting for the play cursor. In this loop, I thought that the right API call would give back CPU power to Windows. SwitchToThread does this, but only if there is another application that needs CPU at the moment.
How do you do this yourselves?
/Nessie
|