Re: [Alsa-user] selecting line-in (rather than MIC) via API
Brought to you by:
perex
|
From: Clemens L. <cla...@go...> - 2011-08-26 08:13:02
|
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 |