Ensure proper termination of baseband sampling when M17Demodulator::terminate() is called.
Solves #74.
This commit is contained in:
parent
7aff678069
commit
5b27e6b692
|
|
@ -136,6 +136,9 @@ void M17Demodulator::init()
|
|||
|
||||
void M17Demodulator::terminate()
|
||||
{
|
||||
// Ensure proper termination of baseband sampling
|
||||
inputStream_stop(basebandId);
|
||||
|
||||
// Delete the buffers and deallocate memory.
|
||||
delete[] baseband_buffer;
|
||||
delete activeFrame;
|
||||
|
|
|
|||
Loading…
Reference in New Issue