PDA

View Full Version : Directly accessing the microphone on Linux



tom66
December 15th, 2008, 05:13 PM
I would like to use a library like ALSA to access the microphone from C or C++. How would I go about doing this?

Thanks

aapocketz
December 15th, 2008, 06:05 PM
What have you tried?

This page goes over input file/buffer for sound structures
http://www.alsa-project.org/alsa-doc/alsa-lib/group___input.html

maybe lurk over at the ALSA project website. They have some tutorials and stuff that you may want to try. http://www.alsa-project.org/main/index.php/Tutorials_and_Presentations. You probably want to hit them up if you have specific problems.