[alsa-devel] non-interleaved mode

J. Scott Merritt alsauser at pragmasoft.com
Wed Jul 11 15:13:24 CEST 2007

On Wed, 11 Jul 2007 10:47:56 +0200
Takashi Iwai <tiwai at suse.de> 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).

More information about the Alsa-devel mailing list