mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-31 06:12:26 -04: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;
|
m_decay = decay;
|
||||||
if(m_decay < -2)
|
if(m_decay < -2)
|
||||||
m_decay = -2;
|
m_decay = -2;
|
||||||
else if(m_decay > 2)
|
else if(m_decay > 10)
|
||||||
m_decay = 2;
|
m_decay = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLSpectrum::setSampleRate(qint32 sampleRate)
|
void GLSpectrum::setSampleRate(qint32 sampleRate)
|
||||||
|
@ -271,6 +271,46 @@
|
|||||||
<string>+2</string>
|
<string>+2</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</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>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="1" colspan="3">
|
<item row="2" column="1" colspan="3">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user