mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-11 02:46:12 -05:00
WDSP: fixed missing decalc in USLEW
This commit is contained in:
parent
28cfad98ff
commit
ad3e7dfe19
@ -157,7 +157,6 @@ void USLEW::setBuffers(float* _in, float* _out)
|
|||||||
|
|
||||||
void USLEW::setSamplerate(int _rate)
|
void USLEW::setSamplerate(int _rate)
|
||||||
{
|
{
|
||||||
decalc();
|
|
||||||
rate = _rate;
|
rate = _rate;
|
||||||
calc();
|
calc();
|
||||||
}
|
}
|
||||||
@ -177,7 +176,6 @@ void USLEW::setSize(int _size)
|
|||||||
void USLEW::setuSlewTime(double _time)
|
void USLEW::setuSlewTime(double _time)
|
||||||
{
|
{
|
||||||
// NOTE: 'time' is in seconds
|
// NOTE: 'time' is in seconds
|
||||||
decalc();
|
|
||||||
tupslew = _time;
|
tupslew = _time;
|
||||||
calc();
|
calc();
|
||||||
}
|
}
|
||||||
|
@ -85,7 +85,6 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
void calc();
|
void calc();
|
||||||
void decalc();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace WDSP
|
} // namespace WDSP
|
||||||
|
Loading…
Reference in New Issue
Block a user