Click here to Skip to main content
12,996,261 members (66,402 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I am building an audio player and recorder in C++. Can one audio device simultaneously play and record wave data??
Posted 4-Apr-12 19:38pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Check this source: VC++ Example: Classes to Record, Play, and Save WAV File to disk[^]
"With these classes, sound can be both recorded and played at the same time. Continuous sound can be monitored and, upon appropriate queues, sound can be played back. Simple sound recognition could also, for instance, be put into CRecordSound. The multithreading allows other actions to take place while sound recording and playback go on. As well, recorded sound can be saved to WAV files and played back."
stib_markc 5-Apr-12 8:33am
thanks for the article.. will get back...
stib_markc 6-Apr-12 6:18am

this also helped me a lot thank you
Sergey Chepurin 6-Apr-12 6:43am
You are welcome. By the way, if you have to upgrade this "VC++ Example" from VC7 to VC++2010, use option "File->New->Project from existing code...". Add #pragma comment(lib, "Winmm.lib ") and it compiles.
stib_markc 7-Apr-12 0:59am
actually our company still using vc++6.0...
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you mean the hardware, then yes.
stib_markc 5-Apr-12 8:32am
can you please explain how is it possible or how does it work actually?
Code-o-mat 5-Apr-12 8:38am
Not really, sorry, if you need such technical information, then you should ask the hardware manufacturers or ask on sound-hardware related forums.
stib_markc 5-Apr-12 8:42am
Ok, Thanks anyways..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170609.2 | Last Updated 5 Apr 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100