NetBSD-Users archive

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

recording audio



Hello,
I tried recording audio, mainly to test if my laptop has an integrated mic:
[     1.020260] hdaudio0 at pci0 dev 31 function 3: HD Audio Controller
[     1.020260] hdaudio0: interrupting at msi5 vec 0
[     1.020260] hdafg0 at hdaudio0: vendor 10ec product 0256
[     1.020260] hdafg0: DAC00 2ch: Speaker [Built-In]
[     1.020260] hdafg0: DAC01 2ch: HP Out [Jack]
[     1.020260] hdafg0: ADC02 2ch: Mic In [Built-In]
[     1.020260] hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
[     1.020260] audio0 at hdafg0: playback, capture, full duplex, independent
[     1.020260] audio0: slinear_le:16 2ch 48000Hz, blk 40ms for playback
[     1.020260] audio0: slinear_le:16 2ch 48000Hz, blk 40ms for recording

I tried
audiorecord -p mic /tmp/truc.au
but it returns "audiorecord: failed to set audio info: Invalid argument".

"audiorecord /tmp/truc.au" just creates an empty file.

Anyone knows how this should work ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index