From alsa-devel-owner@alsa.jcu.cz  Tue Jul  7 13:34:10 1998
Received: from POP3.tu-dresden.de (POP3.tu-dresden.de [141.30.2.83])
	by marvin.jcu.cz (8.8.8/8.8.8) with SMTP id NAA11706
	for <alsa-devel@alsa.jcu.cz>; Tue, 7 Jul 1998 13:32:45 +0200
Received: from rmail.urz.tu-dresden.de by rks3 with SMTP (PP);
          Tue, 7 Jul 1998 13:29:34 +0200
Received: from rncmm2.urz.tu-dresden.de by rmail with SMTP (PP);
          Tue, 7 Jul 1998 13:24:42 +0200
Received: from localhost (fleck@localhost) 
          by rncmm2.urz.tu-dresden.de (8.8.8/8.8.8) with SMTP id NAA21439;
          Tue, 7 Jul 1998 13:32:18 +0200 (MET DST)
Date: Tue, 7 Jul 1998 13:32:17 +0200 (MET DST)
From: Christoph Fleck <fleck@Rcs1.urz.tu-dresden.de>
To: ALSA-DEVELOPER <alsa-devel@alsa.jcu.cz>
cc: Multimedia Referenzzentrum <mmt-ref@tu-dresden.de>
Subject: mixer: mute analog monitor
Message-ID: <Pine.GSO.3.95.980707133049.21421B-100000@rncmm2.urz.tu-dresden.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

Dear ALSA-Developers,

I am surprised and happy about your good work on the soundstuff.
Your driver works fine on my sb16 and sb32 under linux 2.0.34 .

But I have a problem with the ALSA-mixers:
I can not mute the MIC-Analog-Monitor while recording from MIC.
That mean I have to hear my own voice at my headphone while conferencing.
In my opinion the mute funktion of every input should only mute 
the Analog-Monitor-Switch not the Record-Switch too.
I _need_ the possibility to turn these switches separately. 
If the MIC-Audio is on the LSP some terrible feedback occur.

Is my problen already known and solutions aviable?
If not could you point me to the right place to do that by myself
and think about this problem in your future work?

I belife it could be useful to mute both switches only if 
the MIC-Gain is zero. 

I also would prefer to have all channels muted with the
Analog-Monitor-Switch at startup and all the sliders on zero.
 (Yes, I know this is a antagonism).

Here is an explanation of my Terms (I hope that matches):

                          ,-------*----- - - same like MIC - - - - - ----C CD
                          |       |
                          |  ,-------*-- - - same like MIC - - - - - ----C LINE
                          |  |    |  |
                          |  |    |  |
                          |  |    |  |
                          |  |    |  | MIC-Rec-Switch MIC-Gain   Amp
                          |  |    |  |  ,-----.      ,---/-.   ,----.
                          |  |  ,-------| _\_ |<--*--|  /  |<--| <| |<---C MIC
                  I-Gain   \ | /  |  |  `-----'   |  `-/---'   `----'
       ,-----.   ,---/-.   ,---.  |  |            |
ISA <--| ADU |<--|  /  |<--| + |  same            |
       `-----'   `-/---'   `---'  like MIC        V
                         I-Mixer  |  |         ,-----.
                                  |  |     ,---| _\_ | MIC-Analog-Monitor-Switch
                                  |  |    /    `-----'
                                LINE CD  MIC
                                  |  |  /  
     Digi-Mix            A-Gain    \ | /            Master-Gain  Amp
      ,---.   ,-----.   ,---/-.    ,---.             ,---/-.   ,----.
      | + |-->| DAU |-->|  /  |--->| + |------------>|  /  |-->| |> |---C LSP
      `---'   `-----'   `-/---'    `---'             `-/---'   `----'
        |                          A-Mixer
        | PCM-Gain
      ,---/-.
ISA ->|  /  |
      `-/---'


Rgds,
Christoph Fleck

,------------------------------------------------------------------.
| Referenzzentrum fuer multimediale Teledienste (MMRZ), TU Dresden |
|         Dr. Klaus Koehler, Christoph Fleck, Rainer Kranz         |
| e-mail: mmt-ref@tu-dresden.de             Tel.: 0351 / 463 5653  |
|    WWW: http://www-mm.urz.tu-dresden.de               (GERMANY)  |
`------------------------------------------------------------------'


