komputes wrote:
I am trying to gather opinions and experiences from the ALSA developer community to understand what they expect to happen when they plug in an analog microphone into their laptops (which already has a built in mic).
I am looking for more of an official ALSA document which states how capture should change when an analogue microphone is plugged in; should it takeover from the internal microphone or not? Is there specification, standard, or "correct" behavior which is applied to this process?
If I am not mistaking, the computer can detect a signal/message when the jack goes in, right? The expected behavior when plugging in headphones is that the headphones are detected, the speakers are muted and the audio is channeled to the headphones. Is this not applicable to external microphone and the internal microphone as well?
-komputes
That rather depends on the how the audio controller works and the hardware capabilities. In some cases this might happen in hardware without the driver needing to do anything. Or it's possible the two inputs have separate ADCs, etc.