PInvokeLibrary Sample Problem

  • Thread starter Thread starter Steve McKewen
  • Start date Start date
S

Steve McKewen

I am working on a Windows Mobile 6 Classic device with VS2005, c#.
I want to monitor the audio input for a loud noise.
I have got the PInvokeLibrary sample to show me how to capture audio input
but it doesn't seem to work 100%.
When I run the sample, select WaveIn test, it should capture audio input,
but it doesn't. It does everything without any error or warnings, but
doesn't actually capture anything.
It should be capture blocks via a MM_WIM_DATA message to a Message Window
(WaveIn.cs line 381), but that message is never received. I get the
termination message, but no progressive blocks.

Has anyone else seen this?
Any hints, tips or links appreciated.

Thanks in advance.
Steve Mac
 
Back
Top