Re: 2.6 sound drivers?

Takashi Iwai
2003-07-17T11:18:09Z

At Thu, 17 Jul 2003 13:19:58 +0200,
Ookhoi wrote:
>
> Takashi Iwai wrote (ao):
> > At Thu, 17 Jul 2003 16:57:04 +0800,
> > Eugene Teo wrote:
> > > One thing I noticed abt this ALSA driver is that if I am playing
> > > say, xmms at the moment, any additional sound output will be delayed
> > > until I stop xmms. Is there any workaround?
> > >
> > > Using Intel(r) AC'97 Audio Controller - Sigmatel 9723 Codec
> >
> > the intel chip supports only one stream for playback, so the
> > succeeding open is blocked since ALSA opens the device in the blocking
> > mode as default. and it's so for OSS-emulation, too.
> >
> > for the oss-emulation, you can change this behavior via the module
> > option nonblock_open of snd-pcm-oss module. please check
> > Documentation/sound/alsa/OSS-Emulation.txt.
>
> Wouldn't esd (the enlightment sound daemon) take care of this in
> userspace? I can have sound out of xmms, firebird, mpg321 and mplayer at
> the same time with esd.

of course, it does.
not only esd but arts can.

also, ALSA provides dmix plugin, which does the similar mixing but
without server process in very low latency. unfortunately, using dmix
plugin for OSS apps is tricky.

Takashi