[linux-audio-user] dmix
Frank Barknecht
fbar at footils.org
Tue Mar 28 10:36:15 EST 2006
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__
More information about the Linux-audio-user
mailing list