On Thu, 05 Jan 2006 20:26:36 +0500
"Alexander E. Patrakov" <[email protected]> wrote:
> Olivier Galibert wrote:
>
> > Make simple things simple, guys.
>
> Sorry for hijacking the thread, but it is very true. ALSA is just too
> flexible so that the ALSA equivalent (if it indeed exists) of
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=339951 cannot be fixed.
> OSS allows specification of device name, and one can set up udev rules
> so that e.g. /dev/dsp-creative it is always a symlink to a SB PCI sound
> card and /dev/dsp-fortemedia is for FM801. Then one can tell xine to
> play sound through /dev/dsp-fortemedia. ALSA accepts only numbers in its
> plughw:x,y,z notation, and applications are unfixable when kernel device
> numbers become random.
maybe i misunderstood your point, but:
a] every alsa driver can have an option "index" which tells it what card
number to grab, so either pass it as module load option or at kernel
boot time..
b] applications should actually allow the user to enter _any_ string as
a device name (well "any" is actually too much). This enables the user
to define his own pcm devices (i.e. using alsa pcm LADSPA plugin) and
use these in any native ALSA app.
There's all kind of nifty predefined pcm device definitions available,
as i.e. "surround50", "surround51", etc.. One can even indicate what
card number to use, i.e. "surround50:0" or "surround50:2" (for the first
and third card in the system respectively). The special name "!default"
can also be overridden easily to make any sane and well programmed ALSA
app use a certain pcm device of the user's choice.
If i completely missed your point -> sorry
Flo
--
Palimm Palimm!
http://tapas.affenbande.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]