Adam Williamson <[EMAIL PROTECTED]> writes:
> Not at all. I thought that was part of the point of ALSA? Doesn't it
> support multiple opening at the driver level?
only if hw supports it :
tv@vador asound/card0/pcm0p $ cat info
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: Intel ICH
name: Intel 82801AA-ICH
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1 <- This tells you how many streams the sound
card can handle in hardware at the same time.
E.g. Only one application at a time can use the card.
subdevices_avail: 0 <- This tells you how many streams are left
(here xmms currently "eat" my sound card)
sb live have subdevices_avail count as 32 because the it can handle 32
streams at once in hardware.
as for software mix, there were some attempts (the smix plugin[1],
portaudio, ...)
there are other applications/tools you can use, one of which is "jack"
that allows for multiple audio streams mixed in software and lots of
other cool stuff.
[1] never finished :-(