[alsa-devel] multi channels input and single channel out

hong zhang henryzhang62 at yahoo.com
Fri May 6 02:31:06 CEST 2011


"--separate-channels" option only allows two files for two channels. Interesting thing is plughw:0,1 -c 1 works only for one pin input (two channels). 

plughw:0,1 -c 1 complains overrun for 6 channels (3 input pins) input.

--- On Thu, 5/5/11, Lu Guanqun <guanqun.lu at intel.com> wrote:

> From: Lu Guanqun <guanqun.lu at intel.com>
> Subject: Re: [alsa-devel] multi channels input and single channel out
> To: "hong zhang" <henryzhang62 at yahoo.com>
> Cc: "alsa-devel at alsa-project.org" <alsa-devel at alsa-project.org>
> Date: Thursday, May 5, 2011, 7:23 PM
> On Fri, May 06, 2011 at 07:47:55AM
> +0800, hong zhang wrote:
> > List,
> > 
> > I have 8 channels of hdmi input and one channel output
> on my board.
> > When arecord -f dat hdmi-rx.wav to store 8 channels
> data, aplay -f dat hdmi-rx.wav releases noise.
> > 
> > Ia there any way arecord stores each channel data to 8
> different files?
> 
> check out the "--separate-channels" option for arecord.
> see if it meets your needs.
> 
> > Or I have to do beam forming to sort 8 channels out by
> custom application?
> > 
> > Thanks.
> > 
> > ---henry
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel at alsa-project.org
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 
> -- 
> guanqun
> 


More information about the Alsa-devel mailing list