Re: arecord: set_params:1239: Channels count non available

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

 



On 17 March 2014 14:30, Roger <rogerx.oss@xxxxxxxxx> 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

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux