Page 1 of 1

Posted: Sun Dec 16, 2001 11:31 am
by BackupUser
Restored from previous forum. Originally posted by Dylen.

For a project I want to work on I need some functions for sound input as well as sound output. (Essentially, I need to trigger a timer when significant sound is detected trhough a mic). Hence I also need some way of measuring elapsed time, for which I can't find the functions, e.g.:

start.l = CurrentTime()

[wait for input]

end.l = CurrentTime()

duration.l = end.l - start.l


Any plans for these?

D

Posted: Sun Dec 16, 2001 1:38 pm
by BackupUser
Restored from previous forum. Originally posted by fred.

You can use the API function GetTickCount_() which returns the number of mlliseconds since Windows has started.

Fred - AlphaSND