Jaroslav Kysela <[EMAIL PROTECTED]> writes:

> Use: amixer sset Capture cap
>       amixer sset Capture nocap
>  
>  mute/unmute keywords are parsed only for playback

While still trying to figure out whether or not it's possible for me
to record from my Line,0 with Playback [off], I came across your reply
to someone who was trying to get capture to work from a script
(similar to what I'm trying to do).

Your suggestion does seem to turn capture on/off temporarily, but the
next "amixer get Line,0" shows "Capture [off]" whenever Playback is
also off.

  $ amixer sset Line,0 capture nocap | grep "  Front"
    Front Left: 24 [77%] Playback [off] Capture [off] 
    Front Right: 24 [77%] Playback [off] Capture [off] 

  $ amixer sset Line,0 capture cap | grep "  Front"
    Front Left: 24 [77%] Playback [off] Capture [on] 
    Front Right: 24 [77%] Playback [off] Capture [on] 

  $ amixer sget Line,0
  Simple mixer control 'Line',0
    Capabilities: volume pswitch cswitch
    Playback channels: Front Left - Front Right 
    Capture channels: Front Left - Front Right 
    Limits: 0 - 31
    Front Left: 24 [77%] Playback [off] Capture [off] 
    Front Right: 24 [77%] Playback [off] Capture [off] 

Is this expected?  I can get another sound card just for capture if I
need to, but I'd rather not if my current card (AudioPCI) is capable
of doing the job quietly.

Thanks much.

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to