music program timing troubles
Posted 22 March 2006 - 07:47 PM
have you done this before, can you help me?
Sleep() doesnt seem to work it gets delays in it.
i tried QueryPerformanceCounter() and stuck it in the main loop
but even that gets delays in it.
any help would be appreciated.
Posted 22 March 2006 - 11:20 PM
which basicly means you hog cpu time so queryperformance counter
can return exactly on time. you just time the loop to how fast your
song is playing.
and thats how... phew.
Posted 22 March 2006 - 11:22 PM
Posted 06 April 2007 - 04:19 AM
but, it receives ms or miliseconds ...
1000 ms = 1 s
check that :P
Posted 06 April 2007 - 04:54 PM
Posted 19 September 2007 - 02:53 PM
Ahh, Amiga.. Now that's a fine computer :)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users