[alsa-devel] multi channels input and single channel out
Takashi Iwai
tiwai at suse.de
Fri May 6 07:51:24 CEST 2011
At Thu, 5 May 2011 17:31:06 -0700 (PDT),
hong zhang wrote:
>
> "--separate-channels" option only allows two files for two channels.
No. You passed -fdat, right? "dat" format specifies 2 channels.
Pass -c8 after -fdat.
Takashi
> 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
> >
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
More information about the Alsa-devel
mailing list