[Alsa-user] record PCM output / no PCM capture function

2008-08-08 Thread david blunkett


I used to record streamed audio using this:

arecord -D copy -f cd -t wav out.wav -d 10

cat ~/asoundrc
pcm.copy {
type plug
slave {
  pcm hw
}
route_policy copy
  }

But since getting installing suse 10.3 this doesn't work.

I tried using amixer and alsamixer to set capture on the PCM device but it 
can't be done:
amixer set PCM capture
amixer: Invalid command!

In alsamixer I see 3 capture devices   and  I can only select capture on the 
capture device but this just allows me to record silence.

I have tried audacity but the same result.

My sound card is: 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) 
HD Audio Controller (rev 02)

amixer tells me:
amixer
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 111 [87%] [-12.00dB] [on]
  Front Right: Playback 111 [87%] [-12.00dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [off]
  Front Right: Playback 127 [100%] [0.00dB] [off]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%] [0.00dB] [off]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%] [0.00dB] [off]
Simple mixer control 'Line In as Output',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Mic as Output',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 4
  Front Left: Capture 4 [100%] [40.00dB] [on]
  Front Right: Capture 4 [100%] [40.00dB] [on]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 100 [83%] [20.00dB]
  Front Right: Capture 100 [83%] [20.00dB]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Mic' 'Front Mic' 'Line'

And I appear to have alsa 1.0.14-23 installed.

Playback seems to work fine for everything.

I am thoroughly confused, can anyone help?

Cheers,

SA
_
Reveal your inner athlete and share it with friends on Windows Live.
http://revealyourinnerathlete.windowslive.com?locale=en-usocid=TXT_TAGLM_WLYIA_whichathlete_us
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] record PCM output / no PCM capture function

2008-08-08 Thread James Shatto
 I used to record streamed audio using this:
 
 arecord -D copy -f cd -t wav out.wav -d 10

Same here.  My card has some bleed into the mic port so I do get something 
regardless.  I am able to set PCM record from aumix.  No ideal how to do it in 
alsamixer, it doesn't seem to be an option.  I've only been able to set it from 
the gui of aumix.  On Vol for some reason, and I need to set the PCM out level 
to 50% for the proper gain (ATIIXP).

HTH

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user