Audio Recording and playback VC++
Hi folks I am planning on recording audio, and later play it back, for on of my projects. The requirement is that it should开发者_StackOverflow社区 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 :
- VC++ (Visual studio 2008) 32 bit compatible.
- Only need to record/playback. No fancy functionalities needed.
- Only 32 bit windows 7/vista targeted. Multi-platform functionality is unnecessary.
- 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.
- is free ( at least for research).
Can you suggest something that would be best for me ? Thank you in advance!
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.
精彩评论