Audio files

  • Thread starter Thread starter Glyn Meek
  • Start date Start date
G

Glyn Meek

Can anyone point me to an appropriate article(s) for programming the Pocket
PC to save audio files input directly into the Pocket PC through the
built-in micorphone, and then play them back.

We need to be able to transfer these audio files (.wav, I assume) back to a
PC and play them there as well.

I have found the multimedia audio routines in Opennetcf, but am looking for
some basic reading materila to keep me awake at nights!

Thanks

Glyn
 
http://msdn.microsoft.com/library/d...win32_recording_waveform_audio.asp?frame=true

Basically, you open wave device using waveInOpen, allocate some buffers,
call waveInStart and then start preparing headers and calling
waveInAddBuffer, while waiting for MM_WIM_DATA message. When having received
the message, you dump the buffer contents to the file and release
(unprepare) the buffer, then let it back into circulation. The file you
write will need to have RIFF header and WAVEFORMAT header. It's all in the
OpenNETCF.Multimedia. I think I even put some comments there, although I do
not suggest it as late night reading <g>
 
Back
Top