mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-20 08:31:01 -05:00
Extended the upper limit of spectrum decay
This commit is contained in:
parent
b269cca388
commit
16082916f6
@ -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)
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user