Comment 15 for bug 1171435

Revision history for this message
Raymond (superquad-vortex2) wrote : Re: [AV200 - Xonar STX, recording] Microphone is not working on frontpanel

the following are normal AC97 capture controls , the driver can be customised to remove some unused input sources

control.20 {
   iface MIXER
   name 'Capture Source'
   value.0 Mic
   value.1 Mic
   comment {
    access 'read write'
    type ENUMERATED
    count 2
    item.0 Mic
    item.1 CD
    item.2 Video
    item.3 Aux
    item.4 Line
    item.5 Mix
    item.6 'Mix Mono'
    item.7 Phone
   }
  }
  control.21 {
   iface MIXER
   name 'Capture Switch'
   value.0 false
   value.1 false
   comment {
    access 'read write'
    type BOOLEAN
    count 2
   }
  }
  control.22 {
   iface MIXER
   name 'Capture Volume'
   value.0 13
   value.1 13
   comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 15'
    dbmin 0
    dbmax 2250
    dbvalue.0 1950
    dbvalue.1 1950
   }
  }

  control.24 {
   iface MIXER
   name 'Mic Select'
   value Mic1
   comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 Mic1
    item.1 Mic2
   }
  }