Re: [Alsa-user] software mixing with dmix
Brought to you by:
perex
From: Frank B. <fb...@fo...> - 2004-02-16 17:26:17
|
Hallo, lets not shut out the list, they have more knowledge than me. ;) Ben Ford hat gesagt: // Ben Ford wrote: > Frank Barknecht wrote: > > >Could you post your exact .asoundrc and /etc/asound.conf? You also > >might to read http://alsa.opensrc.org/?DmixPlugin for a detailed > >instruction > >on how to get dmix to work. > > > > > > I deleted both, no .asoundrc and no /etc/asound.conf. Good. It's best to start simple. > Now reading through that page, it seems like dmix should work out of > the box w/ some command line arguments to aplay, etc. So from a > default install I started at step 1. > > / 1) Install aoss, alsaplayer, mpg123(rsp. mpg321). > done > // 2) Test basic dmix on alsa with: / > > alsaplayer -o alsa -d plug:dmix some.mp3 & > aplay -D plug:dmix some.wav & > alsaplayer -o alsa -d plug:dmix some.mp3 & > > Now here is where I have troubles. alsaplayer just quits. aplay plays > a little bit and segfaults. Both run fine without the plug:dmix argument. Okay, then there is a problem with dmix. It *could* be that the ALSA modules in kernel 2.6.2 are too old. I don't know which version is in 2.6.2, but I remember, that with 2.6.0 they were really old. But maybe you can built the module from 1.0.2 or current CVS? > These are the packages I have installed: > ben@pluto ben $ qpkg -I | grep alsa > media-libs/alsa-lib-1.0.2 * > Advanced Linux Sound Architecture Library [ > http://www.alsa-project.org/ ] > media-libs/alsa-oss-1.0.2 * > Advanced Linux Sound Architecture OSS compatibility layer. [ > http://www.alsa-project.org/ ] > media-sound/alsa-utils-1.0.2 * > Advanced Linux Sound Architecture Utils (alsactl, alsamixer, > etc.) [ http://www.alsa-project.org/ ] > media-sound/gnome-alsamixer-0.9.3 * > Gnome 2 based ALSA Mixer [ > http://www.paw.co.za/projects/gnome-alsamixer ] > media-sound/alsaplayer-0.99.76 * > Media player primarily utilising ALSA [ http://www.alsaplayer.org/ ] > > and ALSA compiled into kernel 2.6.2 ciao -- Frank Barknecht _ ______footils.org__ |