On Sat, 17 Nov 2001, Tim Goetze wrote:

>
> can one reliably find out which snd_ctl_elem controls the gain of a
> specific channel in a pcm stream?
>
> looking at what snd_ctl_elem_list() returns for the audiophile (ice1712)
> there does not seem to be a portable way to do so. i could enumerate them
> and say 'oh yeah, playback mixer 1 must be channel 1 in the playback
> stream' but this obviously isn't the right way to do it.
>
> is there a way to do this programmatically (without heuristics, string
> parsing and other alchemy) or does this in fact require human user
> knowledge?

We have no API covering this.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
SuSE Linux    http://www.suse.com
ALSA project  http://www.alsa-project.org


_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to