mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-26 12:27:51 +02:00
More bugfix
This commit is contained in:
@ -131,7 +131,8 @@ int sdrpp_main(int argc, char *argv[]) {
|
||||
defConfig["moduleInstances"]["RTL-SDR Source"] = "rtl_sdr_source";
|
||||
defConfig["moduleInstances"]["AirspyHF+ Source"] = "airspyhf_source";
|
||||
defConfig["moduleInstances"]["Airspy Source"] = "airspy_source";
|
||||
//defConfig["moduleInstances"]["SDRplay Source"] = "sdrplay_source";
|
||||
defConfig["moduleInstances"]["File Source"] = "file_source";
|
||||
defConfig["moduleInstances"]["SDRplay Source"] = "sdrplay_source";
|
||||
defConfig["moduleInstances"]["Audio Sink"] = "audio_sink";
|
||||
|
||||
defConfig["modules"] = json::array();
|
||||
|
@ -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);
|
||||
|
@ -54,7 +54,6 @@
|
||||
// int fftSizeId = 0;
|
||||
int fftSize = 8192 * 8;
|
||||
|
||||
std::thread worker;
|
||||
std::mutex fft_mtx;
|
||||
fftwf_complex *fft_in, *fft_out;
|
||||
fftwf_plan p;
|
||||
|
Reference in New Issue
Block a user