hans

hans

  • NA
  • 6
  • 0

Multiple Acces to dll Functions

Mar 28 2006 3:15 PM
Hi, im working on an audio recording program. I want to trigger recording, when my signal level raises over a defined low level. Also i want to stop recording, when the signal strength lowers again under the given level. im using winmm.dll (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_status_mm.asp) recording just works fine for me, but if i want to use winmm.dll again (send another mciString command) recording stops because of the newly received command. afaik, i have to send another mciString command, to detect the actual sample level (mciSendString("status myRecord level", .. )) so finally my question: does anybody know how to get the level information without stopping recording ? Can i start a second task, or would this result in the same conflict? Or does anybody know, how to gain the level information from another dll, interface or sth? i hope you can help me, yas Stefan E.

Answers (1)