a while ago, someone asked this:
 > > Please excuse my ignorant. But is there such thing as "software mixing" ? 
 > > Basically, what I want is for the soundcard to be used by more than one 
 > > source....

and lee answered:
 > Yes, ALSA supports software mixing for cards that can't do it in
 > hardware.

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".
        (i confess that i find the contents of alsa.conf fairly
        unintelligible.  :-)

    - 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?

    - 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?

    - is it possible to configure an input source (call it A) so
        that it automatically mutes another source (call it B)
        when A becomes active?  for instance, when my caller-id
        audio announcement takes place, i'd like the music to
        mute while that happens.


thanks!

paul
=---------------------
 paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 30.2 degrees)


-------------------------------------------------------
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

Reply via email to