Re: [Alsa-user] arecord: set_params:1239: Channels count non available
Brought to you by:
perex
|
From: James Courtier-D. <jam...@gm...> - 2014-03-17 21:46:41
|
On 17 March 2014 14:30, Roger <rog...@gm...> wrote: > I keep getting the following error whenever specifying -c 1 or --channels=1, or > specifying any number of channels less than two channels when using an ASUS > Essence STX soundcard and recording using the microphone line having a TRS > jack. (Whether using the rear or front/case microphone jack.) > > $ arecord --device=hw:0,0 --format S16_LE --rate 44100 -c1 /tmp/test.wav > > arecord: set_params:1239: Channels count non available > This due to one of two reasons: 1) The hardware cannot do it. 2) The hardware can do it, but the device driver has not implemented support for it yet. Have you tried using plug devices or the default e.g arecord --device=plughw:0,0 --format S16_LE --rate 44100 -c1 /tmp/test.wav This will give you 1 channel, and alsa lib will do the down-mixing 2->1 for you. James |