28 Jun
2007
28 Jun
'07
3:05 a.m.
On 6/27/07, Steve Longerbeam stevel@embeddedalley.com wrote:
It's looking like the way to implement per-substream controls is to add the controls for all possible substreams, and then somehow determine which substream is being referred to in the get/put callbacks, and then get/put the control for only that substream. Is this the way per-substream controls should be done?
Also, with 64 substreams and multiple controls for each, we're talking about adding hundreds of controls, can ALSA handle this? I can imagine alsamixer looking quite crowded :-/
Please check the ALSA emu10k1 driver for a sample implementation. 32 substreams, hardware mixing with independent HW volume control for each.
Lee