1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-17 05:41:56 -05:00

Extended the upper limit of spectrum decay

This commit is contained in:
f4exb 2015-06-12 03:21:02 +02:00
parent b269cca388
commit 16082916f6
2 changed files with 42 additions and 2 deletions

View File

@ -170,8 +170,8 @@ void GLSpectrum::setDecay(int decay)
m_decay = decay;
if(m_decay < -2)
m_decay = -2;
else if(m_decay > 2)
m_decay = 2;
else if(m_decay > 10)
m_decay = 10;
}
void GLSpectrum::setSampleRate(qint32 sampleRate)

View File

@ -271,6 +271,46 @@
<string>+2</string>
</property>
</item>
<item>
<property name="text">
<string>+3</string>
</property>
</item>
<item>
<property name="text">
<string>+4</string>
</property>
</item>
<item>
<property name="text">
<string>+5</string>
</property>
</item>
<item>
<property name="text">
<string>+6</string>
</property>
</item>
<item>
<property name="text">
<string>+7</string>
</property>
</item>
<item>
<property name="text">
<string>+8</string>
</property>
</item>
<item>
<property name="text">
<string>+9</string>
</property>
</item>
<item>
<property name="text">
<string>+10</string>
</property>
</item>
</widget>
</item>
<item row="2" column="1" colspan="3">