[alsa-devel] concept of substream...

Clemens Ladisch clemens at ladisch.de
Wed Feb 8 10:16:55 CET 2012

Vinod Koul wrote:
> I was trying to understand the concept of substream. So can we have a
> device which can have support say 5 substreams and these are controlled
> (start/stop) independent of each other.


> At any instance we can have any number of substreams active and runtime
> we should be able to activate/deactivate a particular substream.

If by "active" you mean opened or running, yes.

Please note that when opening a device without specifying a substream
number, ALSA will open the first free one.  This implies that all
substreams should go the same output (i.e., be mixed together).


More information about the Alsa-devel mailing list