Skip to content

Instantly share code, notes, and snippets.

@cdgraff
Created June 23, 2018 20:51
Show Gist options
  • Save cdgraff/1fecab3be6ea50237b2bd821bb85f0bd to your computer and use it in GitHub Desktop.
Save cdgraff/1fecab3be6ea50237b2bd821bb85f0bd to your computer and use it in GitHub Desktop.
/var/lib/alsa/asound.state
state.audioinjectorpi {
control.1 {
iface MIXER
name 'Master Playback Volume'
value.0 121
value.1 121
comment {
access 'read write'
type INTEGER
count 2
range '0 - 127'
dbmin -9999999
dbmax 600
dbvalue.0 0
dbvalue.1 0
}
}
control.2 {
iface MIXER
name 'Master Playback ZC Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.3 {
iface MIXER
name 'Capture Volume'
value.0 25
value.1 25
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 300
dbvalue.1 300
}
}
control.4 {
iface MIXER
name 'Line Capture Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.5 {
iface MIXER
name 'Mic Boost Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 1'
dbmin 0
dbmax 2000
dbvalue.0 0
}
}
control.6 {
iface MIXER
name 'Mic Capture Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.7 {
iface MIXER
name 'Sidetone Playback Volume'
value 3
comment {
access 'read write'
type INTEGER
count 1
range '0 - 3'
dbmin -1500
dbmax -600
dbvalue.0 -600
}
}
control.8 {
iface MIXER
name 'ADC High Pass Filter Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.9 {
iface MIXER
name 'Store DC Offset Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.10 {
iface MIXER
name 'Playback Deemphasis Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.11 {
iface MIXER
name 'Output Mixer Line Bypass Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.12 {
iface MIXER
name 'Output Mixer Mic Sidetone Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.13 {
iface MIXER
name 'Output Mixer HiFi Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.14 {
iface MIXER
name 'Input Mux'
value 'Line In'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Line In'
item.1 Mic
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment