Re: [linux-audio-user] dmix

From: Frank Barknecht <fbar@email-addr-hidden>
Date: Tue Mar 28 2006 - 18:36:15 EEST

Hallo,
polly hat gesagt: // polly wrote:

> I think I've done the things to my /etc/asound.conf to make dmix work ..
> and I have two command line scripts to make multiple requests for sound
> viz:
>
> aplay /wavi/sounds/file1.wav & aplay /wavi/sounds/file2.wav & etc etc
> and:
> mplayer -ao alsa:device=dmix /av/afile.avi
>
> I can play many, many sounds at once using the first commands repeated
> many times quickly
> _or_
>
> I can do the same thing have many instances of mplayer running ok, with
> sound, at once.

This sounds like you have two dmix-devices, one called "dmix" and the
other is the "default" device, that aplay is using when you don't
specify a different one.

Current version of ALSA don't require you to do any definitions for
getting dmix to work, the "default" device already is dmix'ed and
dsnoop'ed.

I would suggest you remove your /etc/asound.conf and any ~/.asoundrc's
and try again, this time using "mplayer -ao alsa:device=default" and
"aplay whatever.wav".

Ciao

-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__
Received on Tue Mar 28 20:15:15 2006

This archive was generated by hypermail 2.1.8 : Tue Mar 28 2006 - 20:15:15 EEST