mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-02 23:18:07 +02:00
More bugfix
This commit is contained in:
@ -129,8 +129,8 @@ namespace dsp {
|
||||
RealToComplex(stream<float>* in) { init(in); }
|
||||
|
||||
~RealToComplex() {
|
||||
delete[] nullBuffer;
|
||||
generic_block<RealToComplex>::stop();
|
||||
delete[] nullBuffer;
|
||||
}
|
||||
|
||||
void init(stream<float>* in) {
|
||||
|
@ -193,7 +193,7 @@ namespace dsp {
|
||||
StereoFMDemod(stream<complex_t>* in, float sampleRate, float deviation) { init(in, sampleRate, deviation); }
|
||||
|
||||
~StereoFMDemod() {
|
||||
stop();
|
||||
generic_block<StereoFMDemod>::stop();
|
||||
delete[] doubledPilot;
|
||||
delete[] a_minus_b;
|
||||
delete[] a_out;
|
||||
|
@ -103,8 +103,6 @@ namespace dsp {
|
||||
|
||||
NullSink(stream<T>* in) { init(in); }
|
||||
|
||||
~NullSink() { generic_block<NullSink<T>>::stop(); }
|
||||
|
||||
void init(stream<T>* in) {
|
||||
_in = in;
|
||||
generic_block<NullSink<T>>::registerInput(_in);
|
||||
|
Reference in New Issue
Block a user