On Fri, 11 Jan 2002, Paul Davis wrote: > ok, suppose i merge two PCM devices into one "multi" device. then > suppose i do the same for the corresponding control device. > > how does an application access the control switches for the multi > device? in the underlying "hw" devices, there are duplicate sets of > control switch names. how can i refer to a particular switch? > > the particular case i am thinking of is the hammerfall "monitor" > switch, which is a 32 bit value controlling the status of "thru" or > "zero latency" monitoring for each of 18 or 26 channels. but in a > "multi" device, how would i control such things? or does the "multi" > device not provide a control interface? the same issues would seem to > apply to almost any control switch for any (set of) audio interfaces...
PCM and control interfaces are two different things. There is no mapping between PCM and control interfaces except on "hw" level (physical card and device numbers). The "multi" pcm device is an abstraction for PCM not for control API. 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