[alsa-devel] AC97 Playback Volume and Mic Boost (+20dB)

Raymond Yau superquad.vortex2 at gmail.com
Wed Apr 27 06:00:59 CEST 2011


Should alsactl init change "AC97 Playback Volume" and "AC97 Playback Switch"
only for aureon ?


pci/ice1712/aureon.c:        .name = "AC97 Playback Volume",


 CTL{reset}="mixer"
 CTL{name}="AC97 Playback Volume",CTL{do_search}=="1", \
 CTL{values}="100%"
 CTL{name}="AC97 Playback Switch",CTL{do_search}=="1", \
 CTL{values}="on"


Refer to Documentation/SB-Live-mixer.txt ,

The alternative way may be remove these two controls if there are no
practical usage ?


name='AC97 Playback Volume',index=0

This control is used to attenuate samples for left and right front ADC PCM
slots
of the AC97 codec. The result samples are forwarded to the front DAC PCM
slots of the AC97 codec.
********************************************************************************
*** Note: This control should be zero for the standard operations, otherwise
***
*** a digital loopback is activated.
***
********************************************************************************

name='AC97 Capture Volume',index=0

This control is used to attenuate samples for left and right front ADC PCM
slots
of the AC97 codec. The result is forwarded to the ADC capture FIFO (thus to
the standard capture PCM device).
********************************************************************************
*** Note: This control should be 100 (maximal value), otherwise no analog
***
*** inputs of the AC97 codec can be captured (recorded).
***
********************************************************************************





BTW , why alsa-lib regard "Mic Boost (+20dB)" switch as a playback switch  ?
it seem that "20dB Boost " have effect on both playback and capture


Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]


More information about the Alsa-devel mailing list