2010/2/20 Jaroslav Kysela perex@perex.cz
On Fri, 19 Feb 2010, James Courtier-Dutton wrote:
On 19 February 2010 08:17, Jaroslav Kysela perex@perex.cz wrote:
On Thu, 18 Feb 2010, Lennart Poettering wrote:
For the Mic Boost +20dB case , how PA handle this +20dB switch in the
"Flat
Volume" model if you did not expost the Mic Boost switch to the user
in the
mixer control ?
+20dB is quite significant in with the Capture Volume control
We currently don't cover boost switches, simply because tehre is no dB data queriable for them.
I'd really prefer if those boost switches would be turned into binary volume elements which carry normal dB information like any other volume element. After all they are just a volume element, with only two steps.
I like this idea.
Seems like a good idea but what should we call it. If we already have a mic capture gain control, what shall we call the mic boost gain control so as not to confuse it with each other? Would keeping its current name be OK?
I would keep the Boost suffix. It's easy to understand.
Jaroslav
Some HDA codec has Front Mic Boost and Mic Boost and three sets of input sources
it is not easy to know the exact audio path
Card hw:1 'Intel'/'HDA Intel at 0xff9f4000 irq 22' Mixer name : 'Analog Devices AD1988' Components : 'HDA:11d41988' Controls : 48 Simple ctrls : 26
control.25 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 3' comment.dbmin 0 comment.dbmax 3000 iface MIXER name 'Front Mic Boost' value.0 0 value.1 0 } control.26 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 3' comment.dbmin 0 comment.dbmax 3000 iface MIXER name 'Mic Boost' value.0 0 value.1 0 }
control.27 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 54' comment.dbmin -5850 comment.dbmax 2250 iface MIXER name 'Capture Volume' value.0 39 value.1 39 } control.28 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture Switch' value.0 false value.1 false } control.29 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 54' comment.dbmin -5850 comment.dbmax 2250 iface MIXER name 'Capture Volume' index 1 value.0 39 value.1 39 } control.30 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture Switch' index 1 value.0 false value.1 false } control.31 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 54' comment.dbmin -5850 comment.dbmax 2250 iface MIXER name 'Capture Volume' index 2 value.0 39 value.1 39 } control.32 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture Switch' index 2 value.0 false value.1 false } control.33 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 'Front Mic' comment.item.1 Line comment.item.2 Mic comment.item.3 CD comment.item.4 Mix iface MIXER name 'Input Source' value Mic } control.34 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 'Front Mic' comment.item.1 Line comment.item.2 Mic comment.item.3 CD comment.item.4 Mix iface MIXER name 'Input Source' index 1 value 'Front Mic' } control.35 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 'Front Mic' comment.item.1 Line comment.item.2 Mic comment.item.3 CD comment.item.4 Mix iface MIXER name 'Input Source' index 2 value 'Front Mic' }