[alsa-devel] [Bug #10679] 2.6.26-rc1 regression: e5e1d3cb20034a3cbcfff1f0bae12201aa2ce17e breaks artsd

Stas Sergeev stsp at aknet.ru
Sun May 18 00:05:25 CEST 2008


Dave Jones wrote:
> Unless someone has 10 sound cards :-)  (Sounds bizarre, but I never tire
> of seeing some of the creative situations our users get themselves into).
Yes, the hardcoded values sucks...

> Something like this is probably the only real supportable way to do it though.
> It would be great if alsa took something like -1 to mean 'never make this default'.
-1 seems to be already reserved for
"use first free slot", but maybe it
would be nice to reserve some value
for the "movable" index. For example,
the index -2 can mean "use the first
free slot, but move to the next one
when some other driver is registering
with -1 or explicitly to that slot".
Of course I have no idea whether this
is possible and acceptable, but maybe
the alsa guys can tell.

> But until that lands in a module-init-tools update, we're kind of stuck.
Well, they won't take 10 or any other
value I guess...

More information about the Alsa-devel mailing list