From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J. Scott Merritt" Subject: Re: non-interleaved mode Date: Wed, 11 Jul 2007 09:13:24 -0400 Message-ID: <20070711091324.43424685.alsauser@pragmasoft.com> References: <4693CB01.5060804@embeddedalley.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp6.server.rpi.edu (smtp6.server.rpi.edu [128.113.2.226]) by alsa0.perex.cz (Postfix) with ESMTP id F20CB1038F4 for ; Wed, 11 Jul 2007 15:09:58 +0200 (CEST) In-Reply-To: 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: Takashi Iwai Cc: alsa-devel@alsa-project.org, stevel@embeddedalley.com List-Id: alsa-devel@alsa-project.org On Wed, 11 Jul 2007 10:47:56 +0200 Takashi Iwai wrote: > At Tue, 10 Jul 2007 11:08:01 -0700, > Steve Longerbeam wrote: > > > > Hi, > > > > The driver for the sound engine I'm working on requires NONINTERLEAVED. > > Will ALSA core give my driver a full period of left-only samples, > > followed by a full period of right-only samples? Or are left/right > > samples split within a single period (ie. first half of period is left > > samples, second half is right samples)? > > The former case. The standard non-interleaved buffer consists of > (the same buffer-size of) full-length of mono-streams. > > > Takashi Doesn't this depend upon the driver implementation ? IIRC, I tried to request NON-INTERLEAVED on the PXA270 AC97 driver and it told me that wasn't a permitted operation (one of the reasons that I needed to use mmap access in SALSA-Lib).