NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: recording audio
On Mon, Mar 16, 2020 at 05:50:38PM +0100, Manuel Bouyer wrote:
> 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.
Correction: this is a 32-bytes file, not empty.
But obviously it contains no sound ...
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index