mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-25 12:07:49 +02:00
Added module management system
This commit is contained in:
@ -88,6 +88,28 @@ public:
|
||||
}
|
||||
|
||||
~RecorderModule() {
|
||||
// Stop recording
|
||||
if (recording) {
|
||||
if (recMode == 1) {
|
||||
audioSplit.unbindStream(&audioHandlerStream);
|
||||
audioHandler.stop();
|
||||
audioWriter->close();
|
||||
delete audioWriter;
|
||||
}
|
||||
else {
|
||||
sigpath::signalPath.unbindIQStream(&basebandStream);
|
||||
basebandHandler.stop();
|
||||
basebandWriter->close();
|
||||
delete basebandWriter;
|
||||
}
|
||||
}
|
||||
|
||||
vol.stop();
|
||||
audioSplit.stop();
|
||||
meter.stop();
|
||||
|
||||
gui::menu.removeEntry(name);
|
||||
|
||||
delete[] wavSampleBuf;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user