Link to home
Start Free TrialLog in
Avatar of Volverine
Volverine

asked on

WIN API Multimedia functions

I have written a program using Windows Multimedia API to record voice from the microphone and store this recorded data in a fixed amount buffer. When the buffer is filled, retrieve the data from the buffer and output to the PC speakers. The microphone and the speakers are connected to the soundcard of the PC.

How to I write the program to input and output the voice signal using Windows Multimedia API in realtime?

I am using a full duplex sound card.
Avatar of chensu
chensu
Flag of Canada image

Your sound card needs to be a duplex sound card in order to play and record at the same time.
Avatar of Volverine
Volverine

ASKER

Edited text of question.
ASKER CERTIFIED SOLUTION
Avatar of sun307
sun307

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you sun307 for the information. Yes, I am using wave functions. I have already done the things sun307 has mentioned except the threading part. I know I have to use multi-threading, but am not sure of how to do it.

I hope sun307 can send me the project of the similar application to me.
Hi sun307,

I believe my solution to accomplish realtime is to use multi-threading. I hope you can help me on how to go about with it. And also, anyone else can also help me at the following email address : <jikwong@rocketmail.com>

sun307 , can you email to me the project in which you said it is similar to what I want to accomplish.

Thank you and hope to hear from you soon.  
There used to be a sample program at Creative developer Web site. Unfortunately, it has been removed (or moved).
Hi volverine !
the project that i had made can be found at the following URL :
http://www.datatecindia.com/nettalk.htm

you can download this application, run it and see if it is of the kind you are trying for.

Send me more details like :
CODECS you wish to implement.
Whether u r using MFC or SDK
What you have done till now etc.

Without threads the application will run on LAN very well. So Is your application is currently running on LAN without thread and codecs

My email id is vimalmalik@hotmail.com
I can't open the URL.
I need it too. May I have it?
Hi daitt!
Do u want the application or source code ???
If you wish to se the application, then i can send it to you.
My email id is : vimalmalik@yahoo.com
-Regards
Sun307