Public domain
# cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfbffc000 irq 28
# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
arecord -d 10 test-mic.wav
aplay test-mic.wav
arecord -f S16_LE -c1 -r44100 -t raw -d 3 | lame -r -s 44.10 -m m -b 128 - record.mp3
BY: Pejman Moghadam
TAG: alsamixer, microphone, arecord, capture
DATE: 2012-04-07 16:02:59