views:

29

answers:

1

Hi folks I am planning on recording audio, and later play it back, for on of my projects. The requirement is that it should be c++ ( Visual studio 2008 ) compatible. Rest of our application is mostly in silverlight/ VC++. I have worked with NAudio before in C#, but nothing on vc++.


I would like to know what is best suited for my needs :

  1. VC++ (Visual studio 2008) 32 bit compatible.
  2. Only need to record/playback. No fancy functionalities needed.
  3. Only 32 bit windows 7/vista targeted. Multi-platform functionality is unnecessary.
  4. Need a quickfix code. Doesn't matter if things are slow, requires extra computation power, etc. As long as it doesn't crash, and does what it should properly, I am good.
  5. is free ( at least for research).

Can you suggest something that would be best for me ? Thank you in advance!

+1  A: 

Probably the easiest way is using MCI. Basically, you can use mciSendCommand (or mciSendString) to send an MCI_RECORD command to do recording, or an MCI_PLAY to do playback.

Jerry Coffin