All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: York Sun <yorksun@freescale.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: dma buffer format
Date: Mon, 16 Feb 2009 23:59:21 +0100	[thread overview]
Message-ID: <s5hwsbqj8dy.wl%tiwai@suse.de> (raw)
In-Reply-To: <1234825030.28678.10.camel@oslab-l1>

At Mon, 16 Feb 2009 16:57:10 -0600,
York Sun wrote:
> 
> On Mon, 2009-02-16 at 23:26 +0100, Takashi Iwai wrote:
> > At Mon, 16 Feb 2009 16:21:59 -0600,
> > York Sun wrote:
> > > 
> > > Takashi,
> > > 
> > > I am now working on a surround sound driver for the first time. I am
> > > confused by the packed format of dma buffer. If the channel number is 6,
> > > is the buffer filled with data as
> > > 
> > > front left, front right, rear left, rear right, center, LFE
> > > 
> > > or
> > > 
> > > front left, rear left, center, front right, rear left, LFE?
> > 
> > It's supposed to be FL/FR/RL/RR/C/LFE.
> > That's so to be consitent with 4 channels (just cut the last two
> > channels).
> > 
> Thanks for the quick reply. I am curious if it is the only format
> supported, or can it be customized?

As of now, it's fixed.  API to inform / change the channel mapping
is under consideration...


Takashi

      reply	other threads:[~2009-02-16 22:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-16 22:21 dma buffer format York Sun
2009-02-16 22:26 ` Takashi Iwai
2009-02-16 22:57   ` York Sun
2009-02-16 22:59     ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hwsbqj8dy.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=yorksun@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.