Linux.com

Home Linux Community Forums Software Productivity Raw Audio Input ---- finding the device

Raw Audio Input ---- finding the device

Link to this post 21 Aug 09

I'm looking for a way to find the current audio device to get raw input from a receiver plugged into the audio input of any sound board. Someone have a pointer to C/C++ code for doing this?
TIA
clarkw

Link to this post 25 Feb 10

At the command line check out:

aplay -h

arecord -h

amixer -h

For examples see:

http://www.alsa-project.org/main/index.php/Main_Page

Link to this post 27 Feb 10

The ALSA mixer should allow you to specify the input jack to use, such as front panel, line input, mic input, etc. If you have the alsa-lib-devel package installed on your system, then you should be able to use the api's defined in /usr/include/alsa/input.h to record sound in a C/C++ program.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board