From: Takashi Iwai Subject: Re: 6-channel output and i2s Date: Wed, 29 Apr 2009 15:04:32 +0200 Message-ID: References: <9e4733910904290558n60f71bbdn8b85d64e1c0ad4dd@mail.gmail.com> 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 mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 5C3B1243F7 for ; Wed, 29 Apr 2009 15:04:32 +0200 (CEST) In-Reply-To: <9e4733910904290558n60f71bbdn8b85d64e1c0ad4dd@mail.gmail.com> 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: Jon Smirl Cc: alsa-devel mailing list List-Id: alsa-devel@alsa-project.org At Wed, 29 Apr 2009 08:58:52 -0400, Jon Smirl wrote: > > My hardware was has three stereo i2s lines. These three lines are all > tied to the same external clock so they are synchronized. Because > there are three i2s lines, each with it's own DMA queue and FIFO, I > need three independent output buffers. What is the correct way to set > this up in ALSA? So I suppose it's three streams of 2-ch interleaved format? If so, an easier way would be to provide three substreams in a PCM, and bind 6 channels with alsa-lib plugin. Another possible way would be to set up channel_info to point a proper offset for each channel. But, this is less common and maybe more problematic. Takashi