Rename asound.state.sun50iw2-dev to asound.state.sun50iw2-current

This commit is contained in:
leeboby 2021-03-30 19:12:24 +08:00
parent 43d8775780
commit dcb8561458
3 changed files with 70 additions and 40 deletions

View File

@ -4,7 +4,7 @@ OVERLAY_PREFIX='sun50i-h5'
[[ -z $CPUMIN ]] && CPUMIN=480000 [[ -z $CPUMIN ]] && CPUMIN=480000
[[ -z $CPUMAX ]] && CPUMAX=1368000 [[ -z $CPUMAX ]] && CPUMAX=1368000
GOVERNOR=ondemand GOVERNOR=ondemand
ASOUND_STATE='asound.state.sun50iw2-dev' ASOUND_STATE='asound.state.sun50iw2-current'
case $BRANCH in case $BRANCH in
legacy) legacy)

View File

@ -4,7 +4,7 @@ OVERLAY_PREFIX='sun50i-h6'
[[ -z $CPUMIN ]] && CPUMIN=480000 [[ -z $CPUMIN ]] && CPUMIN=480000
[[ -z $CPUMAX ]] && CPUMAX=1810000 [[ -z $CPUMAX ]] && CPUMAX=1810000
GOVERNOR=ondemand GOVERNOR=ondemand
ASOUND_STATE='asound.state.sun50iw2-dev' ASOUND_STATE='asound.state.sun50iw2-current'
case $BRANCH in case $BRANCH in
legacy) legacy)

View File

@ -14,31 +14,6 @@ state.Codec {
} }
} }
control.2 { control.2 {
iface MIXER
name 'Line Out Playback Volume'
value 26
comment {
access 'read write'
type INTEGER
count 1
range '0 - 31'
dbmin -9999999
dbmax 0
dbvalue.0 -750
}
}
control.3 {
iface MIXER
name 'Line Out Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.4 {
iface MIXER iface MIXER
name 'Line In Playback Volume' name 'Line In Playback Volume'
value 3 value 3
@ -52,21 +27,32 @@ state.Codec {
dbvalue.0 0 dbvalue.0 0
} }
} }
control.5 { control.3 {
iface MIXER iface MIXER
name 'Mic1 Playback Volume' name 'Line Out Playback Volume'
value 3 value 26
comment { comment {
access 'read write' access 'read write'
type INTEGER type INTEGER
count 1 count 1
range '0 - 7' range '0 - 31'
dbmin -450 dbmin -9999999
dbmax 600 dbmax 0
dbvalue.0 0 dbvalue.0 -750
} }
} }
control.6 { control.4 {
iface MIXER
name 'Line Out Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.5 {
iface MIXER iface MIXER
name 'Mic2 Playback Volume' name 'Mic2 Playback Volume'
value 3 value 3
@ -80,9 +66,9 @@ state.Codec {
dbvalue.0 0 dbvalue.0 0
} }
} }
control.7 { control.6 {
iface MIXER iface MIXER
name 'Mic1 Boost Volume' name 'Mic2 Boost Volume'
value 4 value 4
comment { comment {
access 'read write' access 'read write'
@ -94,9 +80,23 @@ state.Codec {
dbvalue.0 3300 dbvalue.0 3300
} }
} }
control.7 {
iface MIXER
name 'Mic1 Playback Volume'
value 3
comment {
access 'read write'
type INTEGER
count 1
range '0 - 7'
dbmin -450
dbmax 600
dbvalue.0 0
}
}
control.8 { control.8 {
iface MIXER iface MIXER
name 'Mic2 Boost Volume' name 'Mic1 Boost Volume'
value 4 value 4
comment { comment {
access 'read write' access 'read write'
@ -213,8 +213,8 @@ state.Codec {
control.18 { control.18 {
iface MIXER iface MIXER
name 'Mic1 Capture Switch' name 'Mic1 Capture Switch'
value.0 false value.0 true
value.1 false value.1 true
comment { comment {
access 'read write' access 'read write'
type BOOLEAN type BOOLEAN
@ -246,3 +246,33 @@ state.Codec {
} }
} }
} }
state.allwinnerhdmi {
control.1 {
iface PCM
name 'Playback Channel Map'
value.0 0
value.1 0
value.2 0
value.3 0
value.4 0
value.5 0
value.6 0
value.7 0
comment {
access read
type INTEGER
count 8
range '0 - 36'
}
}
control.2 {
iface PCM
name ELD
value '100008006c1000010000000000000000410c1000323450464c333534332f5433090701000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read volatile'
type BYTES
count 128
}
}
}