3

I'm using Lazarus to build a WinCE application to be run in a PDA/PocketPC.

I need to record the voice from the PDA internal microphone for about 10 seconds, and save it to a wav file, but could not find any information or working example about how to do this.

Any idea? Thanks!

Tim Sylvester
  • 22,897
  • 2
  • 80
  • 94
WarmBooter
  • 1,086
  • 7
  • 9

1 Answers1

0

I would recommend for this using the standard Windows Waveform API. In Delphi you can do this with the mmsystem unit, you will have to verify if this unit is available in Lazarus. There is a sample project for sound capturing using these functions here. It was done in C++, but the basic ideas should be the same.

yms
  • 10,361
  • 3
  • 38
  • 68