Hallo, Paul Fox hat gesagt: // Paul Fox wrote: > i have a couple of follow-on questions on how this works. for > completeness, i'm running 1.0.10, from debian testing (etch), > though it seems that the drivers may be older: > # aplay --version > aplay: version 1.0.10 by Jaroslav Kysela <[EMAIL PROTECTED]> > # cat /proc/asound/version > Advanced Linux Sound Architecture Driver Version 1.0.9rc2 (Thu Mar 24 > 10:33:39 2005 UTC). > > > - does alsa make an effort to use the h/w mixer(s) first, and > only then resort to s/w mixing? > > - what sort of configuration is necessary to make this work? > i see that > http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php#softmix > talks about configuring dmix. do i need to do anything > explicit as described on that page? i've gotten the > impression from answers given here on the list that > software mixing "just works".
It should "just work" now, as a dmixed "default" device is now the, well, default with ALSA. However you need to make sure to actually use that device in you software. If a programm accesses e.g. "hw:0" directly, then dmixing will in fact be disabled for other applications for that time. Jackd usually accesses hw:0 directly, but jack provides its own, more advanced mixing and routing anyways. > - if i'm using the OSS compatibility layer, will OSS input be > software-mixed if necessary as well as "native" alsa > input? or do i need to make sure all of my sound apps > are alsa-aware? I'm not sure what may have changed in ALSA here, but you can try the setup described in the HOWTO above to make OSS-applicactions use the "default" device as well by setting up "aoss". But maybe they also "just work" now? Just try it. > - if alsa is choosing how to do the mixing, how can one > control the relative levels of the two (or more) audio > sources? only h/w mixing channels will show up in a > mixer app, correct, so how would one control a software > mix? There is the "softvol" plugin, which sounds like it could be used for this, but I couldn't find any decent documentation on how to use it and what it does so far. Probably the source code knows more. Ciao -- Frank Barknecht _ ______footils.org_ __goto10.org__ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user