Changed Tx Pwr attenator range to 45dB

This  is now  half way  between  the recent  change to  30dB when  the
formula was corrected  to voltage attenuation from power  and prior to
that.

Also corrected  formula for  the SoundOutput::attenuation  property to
use the correct voltage attenuation calculation.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5579 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2015-06-11 00:30:02 +00:00
parent d33cb8db30
commit 240bdc9c15
2 changed files with 2 additions and 2 deletions

View File

@ -1257,7 +1257,7 @@
<string>Adjust Tx audio level</string>
</property>
<property name="maximum">
<number>300</number>
<number>450</number>
</property>
<property name="value">
<number>0</number>

View File

@ -140,7 +140,7 @@ void SoundOutput::stop ()
qreal SoundOutput::attenuation () const
{
return -(10. * qLn (m_volume) / qLn (10.));
return -(20. * qLn (m_volume) / qLn (10.));
}
void SoundOutput::setAttenuation (qreal a)