Skip to contentSkip to conversation

hammerfall dsp controls (again)

DISCUSSION Paul Davis 2 participants 2 messages Mar 8, 2002

lore
Share & tools
lore

Paul Davis

author
#0 lore raw

well, since nobody responded to a 100% open question on how to support the 1500 or so mixer controls that exist on the H-DSP, i'll offer up an explicit solution and see if anyone can comment on that.

since no generic ALSA program is going to be able to usefully present all those mixer controls, and since they all represent variations on a theme, i propose to offer a single control that includes:

data source
data destination
gain

it will be up to applications to get/set whatever combinations of these they are interested in. there will be no single control that can be read to get, say, the gain for a specific data destination, since no such value can really be said to exist in the H-DSP - gain values always apply to a combination of a source and a destination.

any comments on this?

--p

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

#1 lore raw
Quoted 12 lines · Paul Davis

well, since nobody responded to a 100% open question on how to support the 1500 or so mixer controls that exist on the H-DSP, i'll offer up an explicit solution and see if anyone can comment on that.

since no generic ALSA program is going to be able to usefully present all those mixer controls, and since they all represent variations on a theme, i propose to offer a single control that includes:

data source
data destination
gain

Quoted 7 lines

it will be up to applications to get/set whatever combinations of these they are interested in. there will be no single control that can be read to get, say, the gain for a specific data destination, since no such value can really be said to exist in the H-DSP - gain values always apply to a combination of a source and a destination.

any comments on this?

Can't think of anything better - and it should be possible to implement all sorts of fancy mixer UIs on top of that.

Could be useful for the alsa-lib "multi" and "share" devices as well, to implement runtime routing, if that's desirable on that level... *vague idea*

--
Erik I. Bolsø | email: <knan at mo.himolde.no>
The UNIX philosophy basically involves giving you enough rope to hang yourself. And then a couple of feet more, just to be sure.

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