Skip to content

Instantly share code, notes, and snippets.

@Korvox
Created January 15, 2013 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Korvox/4540624 to your computer and use it in GitHub Desktop.
Save Korvox/4540624 to your computer and use it in GitHub Desktop.
state.XFi {
control.1 {
iface MIXER
name 'Master Playback Volume'
value.0 147
value.1 147
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 -2725
dbvalue.1 -2725
}
}
control.2 {
iface MIXER
name 'PCM Playback Volume'
value.0 256
value.1 256
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.3 {
iface MIXER
name 'Line Playback Volume'
value.0 256
value.1 256
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.4 {
iface MIXER
name 'Mic Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 -9999999
dbvalue.1 -9999999
}
}
control.5 {
iface MIXER
name 'IEC958 Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 -9999999
dbvalue.1 -9999999
}
}
control.6 {
iface MIXER
name 'Digital Playback Volume'
value.0 256
value.1 256
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.7 {
iface MIXER
name 'Front Playback Volume'
value.0 256
value.1 256
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.8 {
iface MIXER
name 'Surround Playback Volume'
value.0 256
value.1 256
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.9 {
iface MIXER
name 'Center/LFE Playback Volume'
value.0 256
value.1 256
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.10 {
iface MIXER
name 'Side Playback Volume'
value.0 256
value.1 256
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.11 {
iface MIXER
name 'Master Capture Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 -9999999
dbvalue.1 -9999999
}
}
control.12 {
iface MIXER
name 'PCM Capture Volume'
value.0 256
value.1 256
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.13 {
iface MIXER
name 'Line Capture Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 -9999999
dbvalue.1 -9999999
}
}
control.14 {
iface MIXER
name 'Mic Capture Volume'
value.0 256
value.1 256
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.15 {
iface MIXER
name 'IEC958 Capture Volume'
value.0 256
value.1 256
comment {
access 'read write'
type INTEGER
count 2
range '0 - 256'
dbmin -9999999
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.16 {
iface MIXER
name 'PCM Capture Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.17 {
iface MIXER
name 'Line Capture Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.18 {
iface MIXER
name 'Mic Capture Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.19 {
iface MIXER
name 'IEC958 Capture Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.20 {
iface MIXER
name 'Digital Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.21 {
iface MIXER
name 'Front Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.22 {
iface MIXER
name 'Surround Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.23 {
iface MIXER
name 'Center/LFE Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.24 {
iface MIXER
name 'Side Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.25 {
iface PCM
device 4
name 'IEC958 Playback Mask'
value ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
comment {
access read
type IEC958
count 1
}
}
control.26 {
iface PCM
device 4
name 'IEC958 Playback Default'
value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read write'
type IEC958
count 1
}
}
control.27 {
iface PCM
device 4
name 'IEC958 Playback PCM Stream'
value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read write'
type IEC958
count 1
}
}
}
state.Intel {
control.1 {
iface MIXER
name 'Front Playback Volume'
value.0 39
value.1 39
comment {
access 'read write'
type INTEGER
count 2
range '0 - 39'
dbmin -5850
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.2 {
iface MIXER
name 'Front Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.3 {
iface MIXER
name 'Surround Playback Volume'
value.0 39
value.1 39
comment {
access 'read write'
type INTEGER
count 2
range '0 - 39'
dbmin -5850
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.4 {
iface MIXER
name 'Surround Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.5 {
iface MIXER
name 'Center Playback Volume'
value 39
comment {
access 'read write'
type INTEGER
count 1
range '0 - 39'
dbmin -5850
dbmax 0
dbvalue.0 0
}
}
control.6 {
iface MIXER
name 'LFE Playback Volume'
value 39
comment {
access 'read write'
type INTEGER
count 1
range '0 - 39'
dbmin -5850
dbmax 0
dbvalue.0 0
}
}
control.7 {
iface MIXER
name 'Center Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.8 {
iface MIXER
name 'LFE Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.9 {
iface MIXER
name 'Side Playback Volume'
value.0 39
value.1 39
comment {
access 'read write'
type INTEGER
count 2
range '0 - 39'
dbmin -5850
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.10 {
iface MIXER
name 'Side Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.11 {
iface MIXER
name 'Headphone Playback Volume'
value.0 39
value.1 39
comment {
access 'read write'
type INTEGER
count 2
range '0 - 39'
dbmin -5850
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.12 {
iface MIXER
name 'Headphone Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.13 {
iface MIXER
name 'Front Mic Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.14 {
iface MIXER
name 'Front Mic Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.15 {
iface MIXER
name 'Front Mic Boost Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3000
dbvalue.0 0
dbvalue.1 0
}
}
control.16 {
iface MIXER
name 'Rear Mic Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.17 {
iface MIXER
name 'Rear Mic Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.18 {
iface MIXER
name 'Rear Mic Boost Volume'
value.0 3
value.1 3
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3000
dbvalue.0 3000
dbvalue.1 3000
}
}
control.19 {
iface MIXER
name 'Line Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.20 {
iface MIXER
name 'Line Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.21 {
iface MIXER
name 'CD Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.22 {
iface MIXER
name 'CD Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.23 {
iface MIXER
name 'Analog Mix Playback Volume'
value.0 31
value.1 31
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -4650
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.24 {
iface MIXER
name 'Analog Mix Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.25 {
iface MIXER
name 'Independent HP'
value ON
comment {
access 'read write'
type ENUMERATED
count 1
item.0 OFF
item.1 ON
}
}
control.26 {
iface MIXER
name 'Capture Volume'
value.0 51
value.1 51
comment {
access 'read write'
type INTEGER
count 2
range '0 - 54'
dbmin -5850
dbmax 2250
dbvalue.0 1800
dbvalue.1 1800
}
}
control.27 {
iface MIXER
name 'Capture Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.28 {
iface MIXER
name 'Capture Volume'
index 1
value.0 1
value.1 1
comment {
access 'read write'
type INTEGER
count 2
range '0 - 54'
dbmin -5850
dbmax 2250
dbvalue.0 -5700
dbvalue.1 -5700
}
}
control.29 {
iface MIXER
name 'Capture Switch'
index 1
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.30 {
iface MIXER
name 'Capture Volume'
index 2
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 54'
dbmin -5850
dbmax 2250
dbvalue.0 -5850
dbvalue.1 -5850
}
}
control.31 {
iface MIXER
name 'Capture Switch'
index 2
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.32 {
iface MIXER
name 'Input Source'
value 'Rear Mic'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Front Mic'
item.1 'Rear Mic'
item.2 Line
item.3 CD
item.4 Mix
}
}
control.33 {
iface MIXER
name 'Input Source'
index 1
value Mix
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Front Mic'
item.1 'Rear Mic'
item.2 Line
item.3 CD
item.4 Mix
}
}
control.34 {
iface MIXER
name 'Input Source'
index 2
value Line
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Front Mic'
item.1 'Rear Mic'
item.2 Line
item.3 CD
item.4 Mix
}
}
control.35 {
iface MIXER
name 'IEC958 Playback Volume'
value.0 39
value.1 39
comment {
access 'read write'
type INTEGER
count 2
range '0 - 39'
dbmin -5850
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.36 {
iface MIXER
name 'HDMI Playback Volume'
value.0 39
value.1 39
comment {
access 'read write'
type INTEGER
count 2
range '0 - 39'
dbmin -5850
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.37 {
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access read
type IEC958
count 1
}
}
control.38 {
iface MIXER
name 'IEC958 Playback Pro Mask'
value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access read
type IEC958
count 1
}
}
control.39 {
iface MIXER
name 'IEC958 Playback Default'
value '0482000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read write'
type IEC958
count 1
}
}
control.40 {
iface MIXER
name 'IEC958 Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.41 {
iface MIXER
name 'IEC958 Default PCM Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.42 {
iface MIXER
name 'Beep Playback Volume'
value 15
comment {
access 'read write'
type INTEGER
count 1
range '0 - 15'
dbmin -4500
dbmax 0
dbvalue.0 0
}
}
control.43 {
iface MIXER
name 'Beep Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.44 {
iface MIXER
name 'Master Playback Volume'
value 26
comment {
access 'read write'
type INTEGER
count 1
range '0 - 39'
dbmin -5850
dbmax 0
dbvalue.0 -1950
}
}
control.45 {
iface MIXER
name 'Master Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.46 {
iface MIXER
name 'PCM Playback Volume'
value.0 255
value.1 255
comment {
access 'read write user'
type INTEGER
count 2
range '0 - 255'
tlv '0000000100000008ffffec1400000014'
dbmin -5100
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.47 {
iface MIXER
name 'Digital Capture Volume'
value.0 60
value.1 60
comment {
access 'read write user'
type INTEGER
count 2
range '0 - 120'
tlv '0000000100000008fffff44800000032'
dbmin -3000
dbmax 3000
dbvalue.0 0
dbvalue.1 0
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment