update 6 mic gain controls

This commit is contained in:
Yihui Xiong 2018-08-06 06:32:46 +00:00
parent 67b4504964
commit bfe6978ef4
2 changed files with 48 additions and 45 deletions

View File

@ -69,7 +69,7 @@ state.seeed8micvoicec {
control.1 { control.1 {
iface MIXER iface MIXER
name 'CH1 digital volume' name 'CH1 digital volume'
value 166 value 208
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -77,13 +77,13 @@ state.seeed8micvoicec {
range '0 - 255' range '0 - 255'
dbmin -11925 dbmin -11925
dbmax 7200 dbmax 7200
dbvalue.0 525 dbvalue.0 3675
} }
} }
control.2 { control.2 {
iface MIXER iface MIXER
name 'CH2 digital volume' name 'CH2 digital volume'
value 166 value 208
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -91,13 +91,13 @@ state.seeed8micvoicec {
range '0 - 255' range '0 - 255'
dbmin -11925 dbmin -11925
dbmax 7200 dbmax 7200
dbvalue.0 525 dbvalue.0 3675
} }
} }
control.3 { control.3 {
iface MIXER iface MIXER
name 'CH3 digital volume' name 'CH3 digital volume'
value 166 value 208
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -105,13 +105,13 @@ state.seeed8micvoicec {
range '0 - 255' range '0 - 255'
dbmin -11925 dbmin -11925
dbmax 7200 dbmax 7200
dbvalue.0 525 dbvalue.0 3675
} }
} }
control.4 { control.4 {
iface MIXER iface MIXER
name 'CH4 digital volume' name 'CH4 digital volume'
value 166 value 208
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -119,13 +119,13 @@ state.seeed8micvoicec {
range '0 - 255' range '0 - 255'
dbmin -11925 dbmin -11925
dbmax 7200 dbmax 7200
dbvalue.0 525 dbvalue.0 3675
} }
} }
control.5 { control.5 {
iface MIXER iface MIXER
name 'ADC1 PGA gain' name 'ADC1 PGA gain'
value 25 value 0
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -133,13 +133,13 @@ state.seeed8micvoicec {
range '0 - 31' range '0 - 31'
dbmin 0 dbmin 0
dbmax 3100 dbmax 3100
dbvalue.0 2500 dbvalue.0 0
} }
} }
control.6 { control.6 {
iface MIXER iface MIXER
name 'ADC2 PGA gain' name 'ADC2 PGA gain'
value 25 value 0
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -147,13 +147,13 @@ state.seeed8micvoicec {
range '0 - 31' range '0 - 31'
dbmin 0 dbmin 0
dbmax 3100 dbmax 3100
dbvalue.0 2500 dbvalue.0 0
} }
} }
control.7 { control.7 {
iface MIXER iface MIXER
name 'ADC3 PGA gain' name 'ADC3 PGA gain'
value 25 value 0
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -161,13 +161,13 @@ state.seeed8micvoicec {
range '0 - 31' range '0 - 31'
dbmin 0 dbmin 0
dbmax 3100 dbmax 3100
dbvalue.0 2500 dbvalue.0 0
} }
} }
control.8 { control.8 {
iface MIXER iface MIXER
name 'ADC4 PGA gain' name 'ADC4 PGA gain'
value 25 value 0
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -175,13 +175,13 @@ state.seeed8micvoicec {
range '0 - 31' range '0 - 31'
dbmin 0 dbmin 0
dbmax 3100 dbmax 3100
dbvalue.0 2500 dbvalue.0 0
} }
} }
control.9 { control.9 {
iface MIXER iface MIXER
name 'CH5 digital volume' name 'CH5 digital volume'
value 165 value 208
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -189,13 +189,13 @@ state.seeed8micvoicec {
range '0 - 255' range '0 - 255'
dbmin -11925 dbmin -11925
dbmax 7200 dbmax 7200
dbvalue.0 450 dbvalue.0 3675
} }
} }
control.10 { control.10 {
iface MIXER iface MIXER
name 'CH6 digital volume' name 'CH6 digital volume'
value 165 value 208
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -203,13 +203,13 @@ state.seeed8micvoicec {
range '0 - 255' range '0 - 255'
dbmin -11925 dbmin -11925
dbmax 7200 dbmax 7200
dbvalue.0 450 dbvalue.0 3675
} }
} }
control.11 { control.11 {
iface MIXER iface MIXER
name 'CH7 digital volume' name 'CH7 digital volume'
value 165 value 198
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -217,13 +217,13 @@ state.seeed8micvoicec {
range '0 - 255' range '0 - 255'
dbmin -11925 dbmin -11925
dbmax 7200 dbmax 7200
dbvalue.0 450 dbvalue.0 2925
} }
} }
control.12 { control.12 {
iface MIXER iface MIXER
name 'CH8 digital volume' name 'CH8 digital volume'
value 165 value 198
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -231,13 +231,13 @@ state.seeed8micvoicec {
range '0 - 255' range '0 - 255'
dbmin -11925 dbmin -11925
dbmax 7200 dbmax 7200
dbvalue.0 450 dbvalue.0 2925
} }
} }
control.13 { control.13 {
iface MIXER iface MIXER
name 'ADC5 PGA gain' name 'ADC5 PGA gain'
value 25 value 0
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -245,13 +245,13 @@ state.seeed8micvoicec {
range '0 - 31' range '0 - 31'
dbmin 0 dbmin 0
dbmax 3100 dbmax 3100
dbvalue.0 2500 dbvalue.0 0
} }
} }
control.14 { control.14 {
iface MIXER iface MIXER
name 'ADC6 PGA gain' name 'ADC6 PGA gain'
value 25 value 0
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -259,13 +259,13 @@ state.seeed8micvoicec {
range '0 - 31' range '0 - 31'
dbmin 0 dbmin 0
dbmax 3100 dbmax 3100
dbvalue.0 2500 dbvalue.0 0
} }
} }
control.15 { control.15 {
iface MIXER iface MIXER
name 'ADC7 PGA gain' name 'ADC7 PGA gain'
value 25 value 0
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -273,13 +273,13 @@ state.seeed8micvoicec {
range '0 - 31' range '0 - 31'
dbmin 0 dbmin 0
dbmax 3100 dbmax 3100
dbvalue.0 2500 dbvalue.0 0
} }
} }
control.16 { control.16 {
iface MIXER iface MIXER
name 'ADC8 PGA gain' name 'ADC8 PGA gain'
value 25 value 0
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -287,7 +287,7 @@ state.seeed8micvoicec {
range '0 - 31' range '0 - 31'
dbmin 0 dbmin 0
dbmax 3100 dbmax 3100
dbvalue.0 2500 dbvalue.0 0
} }
} }
control.17 { control.17 {
@ -325,7 +325,7 @@ state.seeed8micvoicec {
control.19 { control.19 {
iface MIXER iface MIXER
name 'digital volume' name 'digital volume'
value 49 value 51
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -333,13 +333,13 @@ state.seeed8micvoicec {
range '0 - 63' range '0 - 63'
dbmin -7308 dbmin -7308
dbmax 0 dbmax 0
dbvalue.0 -1624 dbvalue.0 -1392
} }
} }
control.20 { control.20 {
iface MIXER iface MIXER
name 'speaker volume' name 'speaker volume'
value 18 value 25
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -347,13 +347,13 @@ state.seeed8micvoicec {
range '0 - 31' range '0 - 31'
dbmin -4800 dbmin -4800
dbmax -150 dbmax -150
dbvalue.0 -2100 dbvalue.0 -1050
} }
} }
control.21 { control.21 {
iface MIXER iface MIXER
name 'headphone volume' name 'headphone volume'
value 48 value 52
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
@ -361,7 +361,7 @@ state.seeed8micvoicec {
range '0 - 63' range '0 - 63'
dbmin -6300 dbmin -6300
dbmax 0 dbmax 0
dbvalue.0 -1500 dbvalue.0 -1100
} }
} }
} }

View File

@ -1,7 +1,7 @@
# The IPC key of dmix or dsnoop plugin must be unique # The IPC key of dmix or dsnoop plugin must be unique
# If 555555 or 666666 is used by other processes, use another one # If 555555 or 666666 is used by other processes, use another one
# use samplerate to resample as speexdsp resample is bad # use samplerate to resample as speexdsp resample is broken
defaults.pcm.rate_converter "samplerate" defaults.pcm.rate_converter "samplerate"
pcm.!default { pcm.!default {
@ -21,6 +21,8 @@ pcm.ac108 {
} }
# pcm.multiapps { # pcm.multiapps {
# type plug
# slave.pcm {
# type dsnoop # type dsnoop
# slave { # slave {
# rate 48000 # rate 48000
@ -29,6 +31,7 @@ pcm.ac108 {
# } # }
# ipc_key 666666 # ipc_key 666666
# } # }
# }
pcm.dmixer { pcm.dmixer {
type plug type plug