maybe macOS fixes and other

This commit is contained in:
AlexandreRouma
2022-06-20 19:55:13 +02:00
parent 53afaeda9e
commit 834890b69a
5 changed files with 20 additions and 2 deletions

View File

@@ -10,6 +10,12 @@ namespace dsp::channel {
RxVFO(stream<complex_t>* in, double inSamplerate, double outSamplerate, double bandwidth, double offset) { init(in, inSamplerate, outSamplerate, bandwidth, offset); }
~RxVFO() {
if (!base_type::_block_init) { return; }
base_type::stop();
taps::free(ftaps);
}
void init(stream<complex_t>* in, double inSamplerate, double outSamplerate, double bandwidth, double offset) {
_inSamplerate = inSamplerate;
_outSamplerate = outSamplerate;