[ltp] T40 and ALSA, but no multi channel mixing
Luke Yelavich
linux-thinkpad@linux-thinkpad.org
Fri, 20 Aug 2004 23:48:12 +1000
On Fri, Aug 20, 2004 at 11:22:52PM EST, Alex Deucher wrote:
> On Fri, 20 Aug 2004 10:53:31 +0200, Roman Joost <roman@bromeco.de> wrote:
> > pcm.amix {
> > type dmix
> > ipc_key 50557
> > slave {
> > pcm "hw:0,0"
> > period_time 0
> > period_size 1024
> > buffer_size 8192
> > }
> > bindings {
> > 0 0
> > 1 1
> > }
> > }
> > pcm.!default { # route ALSA software through pcm.amix
> > type plug
> > slave.pcm "amix"
> > }
> > pcm.dsp0 { # oss software as well
> > type plug
> > slave.pcm "amix"
> > }
> >
> > ctl.mixer0 {
> > type hw
> > card 0
> > }
> >
> > Unfortunately, same problem; no multi channel mixing (or however you
> > want to call it). Another curiosity is, that if I try to play two mp3's
> > with mplayer and alsa output, it only works for the first one. The
> > second mplayer waits for the device to become free. I thought, that this
> > should work for ALSA?
>
> I'm not really an expert when it comes to sound, but it's my
> understanding that to mix multiple streams you either need a sound
> daemon like esd or a sound chip that supports multiple streams in
> hardware like the SB live! or audigy cards.
Yes, you could do that, but ALSA has a plugin called dmix, which does this at
a lower level. This means that you don't need anything like esd or artsd to
manage your audio.
Luke