whoops.. :)

This commit is contained in:
Charles J. Cliffe 2015-11-21 02:13:33 -05:00
parent 3eb3ef4a74
commit c503bb93da

View File

@ -63,6 +63,12 @@ void DemodulatorWorkerThread::run() {
} else {
cModemKit = nullptr;
}
} else if (filterChanged && filterCommand.bandwidth && filterCommand.audioSampleRate) {
if (cModem != nullptr) {
cModemKit = cModem->buildKit(filterCommand.bandwidth, filterCommand.audioSampleRate);
} else {
cModemKit = nullptr;
}
} else if (makeDemod) {
cModemKit = nullptr;
}