[alsa-devel] question on hardware mixing

Clemens Ladisch clemens at ladisch.de
Tue Dec 9 15:06:09 CET 2008

Harsha, Priya wrote:
> If I define mixer controls to switch between each substream,

I wrote "mixer controls to switch between these settings for each
substream", i.e., each substream would have its own flag.

> can I use snd_pcm_t->private_data to communicate if it's a voice or
> audio

ALSA does not have a predefined mechanism to set it from userspace.
Your driver can initialize it when it is probed, or it can change it
when opening the substream.


More information about the Alsa-devel mailing list