Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How do you sample PCM data from a microphone: (2 Items)
   
How do you sample PCM data from a microphone  
I am new to QNX. I have setup my first project with some IPC messaging between two threads.
Now what I want to do is have one thread as a microphone "driver" that samples input from the mic and stores / sends it 
as PCM packets to another thread which plays it out of the speaker.

So, are there any audio support libraries?, what is the best way to achieve recording microphone input and speaker 
output?

Thanks very much.
Re: How do you sample PCM data from a microphone  
Ok, I have this sorted now. I found the wave.c and waverec.c examples. Also had to add the asound shared library to my 
project.