[alsa-devel] Complex hw buffer with MMAP_COMPLEX?

Clemens Ladisch clemens at ladisch.de
Tue Oct 9 15:49:32 CEST 2012

Adrian Knoth wrote:
> That is, we're dealing with 25 (or 26 for output) interleaved streams
> with two or eight channels each.
> How could we represent such a layout in ALSA, that is, how are we
> talking to userspace? Would one create subdevices and rejoin them via
> plughw?

Is it possible to start/stop the streams independently?
If yes, this might be useful.

(And subdevices are usually used for streams that are mixed together.)

> Or use MMAP_COMPLEX and then let every application deal with it
> on its own?

Alsa-lib can automatically convert this.  Applications that insist
on using hw devices have to deal with it (Jack does).


More information about the Alsa-devel mailing list