Re: selecting line-in (rather than MIC) via API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Collier wrote:
> how do i go about telling ALSA to record from LINE-IN rather than MIC?
> i am aware that i can go and toggle this in the mixer. however, this
> software is ultimately going to run autonomously on an unattended
> machine, which will make the use of the mixer a little tricky!

Use the amixer tool to find out which mixer control is to be set to
which value, then copy some code from amixer into your app.  Or don't
copy and just use amixer.  :-)


Regards,
Clemens

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux