• Herton Ronaldo Krzesinski's avatar
    ALSA: hda - fix noise issue when recording from digital mic with alc268 · 5908589f
    Herton Ronaldo Krzesinski authored
    With auto config model of alc268 realtek codec, it allows to select any
    of possible available digital microphone inputs when only one is
    available. For example, when only digital mic in nid 0x12 is available,
    on second input source it will allow you to select unavailable digital
    mic in nid 0x13. The problem is that selecting unavailable digital mic
    creates a source of noise when recording (I'm not sure if this happens
    on all machines with alc268 and only one digital mic input, but testing
    on a quanta uw1 netbook a lot of noise is introduced in recording from
    digital mic 0x12/first input source, when you select the unavailable
    digital mic 0x13 for capture source 0x24 in the second input source in
    mixer).
    
    Then to avoid noise when recording from digital mic with auto model in
    this case, prevent a digital mic input source to be selected if
    microphone is not available.
    Signed-off-by: default avatarHerton Ronaldo Krzesinski <herton@mandriva.com.br>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    5908589f
patch_realtek.c 568 KB