473,324 Members | 2,473 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Recording Mic and Speaker audio simultaneously like Skype conversation

Am new to C++.
Working on aC++ project recording all conversation happening on a computer like Skype, G Talk. Please someone suggest C++ API to achieve this.
I have tried using WaveIn api but it records only Mic audio but not the Speaker audio. Thanks in advance.
Sep 20 '12 #1
2 2747
zmbd
5,501 Expert Mod 4TB
More than likely you will not receive full code unless you can show your current work.
When posting your code, please Use the <CODE/> format, make sure to explan what it does, and any specfic errors on which line of the code and the line it occures.
Sep 20 '12 #2
Am trying to record Skype conversation on a client machine and save it as Wav file to be played in on server.

Below is the piece of code am using to record the Audio using WaveInStart. It records only the Mic Audio(Input), but not recording other persons voice i;e Speaker output.

Please Note: Code is working fine. I need a API or code which can record entire Skype conversation both the person voice should be recorded.

Someone please help me how to achieve this. Thank you for your time.

Expand|Select|Wrap|Line Numbers
  1. VOID CSoundRecDlg:StartRecording()
  2. {    
  3.     MMRESULT mRes;
  4.     SetStatus("Recording...");
  5.  
  6.     try
  7.     {
  8.         OpenDevice();
  9.         PrepareBuffers();
  10.         mRes=waveInStart(m_hWaveIn);
  11.         if(mRes!=0)
  12.         {
  13.             StoreError(mRes,FALSE,"File: %s ,Line Number:%d",__FILE__,__LINE__);
  14.             throw m_csErrorText;
  15.         }
  16.         while(m_bRun)
  17.         {
  18.             SleepEx(100,FALSE);
  19.         }
  20.     }
Sep 21 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Sugapablo | last post by:
I had an idea for something that I can't find any evidence if it exists, or if it can be done. I assume it can be done. What I'd like to be able to do, is to allow people who come to my website,...
19
by: Anon Email | last post by:
Hi everyone, Let's see, now. This question is about the capabilities of ANSI C++. I want to write and compile code in ANSI C++ that, when compiled, will make the computer speaker beep; or, at...
2
by: lrandolph | last post by:
Is there a way to allow a user to record a sound file from javascript or html? We need to be able to record and convert to binary to send via XML. If possible, we'd like this to be a server side...
0
by: Bean | last post by:
Hello everyone, I have a question concerning recording the sound of softphone conversation using c# and Directsound(DirectX 9.0). I've tried a similar reference code from...
5
by: ACaunter | last post by:
Hi all, I am in desperate need of being able to have the users of my asp.net site to be able to make a recording from their computer mic, and save that audio on my server.. the user should be able...
3
by: MS News | last post by:
hi I need help.I want to to record my Skype Messenger Conversation i.e Incoming and Outgoing conversation in C#.Please if some body know guide me.I need starting help.what should i study for...
1
by: zhangzhi | last post by:
HI£º i have a big problem about audio recording. my boss wanna a application of audio monitor, and he wanna it will detect voice and start recording automatically, avoiding recording silences....
6
by: pickylee123 | last post by:
I just read that a new trial version of Skype has been released. It is not fit yet though. http://www.speedateauction.com/blog/blog_detail.asp?blog_id=74315&user_id=1356
3
Frinavale
by: Frinavale | last post by:
I'm very impressed with Ubuntu. Everything works very well with my laptop in this flavour of Linux...even the media controls that I was sure wouldn't work do. I'm having problems with Skype...
3
by: Niraj Shah | last post by:
Dear All, In my application, i want to capture live audio data and send them to speaker. I can able store captured audio data in file but my application requirement is to send data directly to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.