selecting line-in (rather than MIC) via API

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

 



hi,

i am writing a small code (based on the aplay.c source) to record data 
from my sound card. i cannot get away with simply using arecord since 
there are a few (unrelated) features that i need to build into this code 
(it is going to be used for logging VLF radio recordings). at present 
the stripped down version of the code works well: it records audio from 
the MIC jack. however the signal that comes in from our receiver is too 
big for the MIC (it requires no amplification), so i want to feed it 
into the LINE-IN jack. 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!

best regards,
andrew.

-- 
Andrew B. Collier                 http://justtrottingalong.blogspot.com/

Physicist
Waves and Space Plasmas Group
Hermanus Magnetic Observatory

Honorary Senior Lecturer                             tel: +27 31 2601157
Space Physics Research Institute                     fax: +27 31 2607795
University of KwaZulu-Natal, Durban, South Africa    gsm: +27 83 3813655


------------------------------------------------------------------------------
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