From: Takashi Iwai Subject: Re: dma buffer format Date: Mon, 16 Feb 2009 23:26:13 +0100 Message-ID: References: <1234822919.23239.20.camel@oslab-l1> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (ns2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 7944C10383D for ; Mon, 16 Feb 2009 23:26:13 +0100 (CET) In-Reply-To: <1234822919.23239.20.camel@oslab-l1> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: York Sun Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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). Takashi