mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-25 12:07:49 +02:00
more bugfix on the module manager and audio streams
This commit is contained in:
@ -398,8 +398,7 @@ private:
|
||||
}
|
||||
|
||||
if (_this->selectedStreamName.empty()) {
|
||||
_this->streamId = 0;
|
||||
_this->selectedStreamName = _this->streamNames[0];
|
||||
_this->selectStream(_this->streamNames[0]);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -420,6 +419,7 @@ private:
|
||||
if (_this->recording) { _this->stopRecording(); }
|
||||
if (_this->audioInput != NULL) {
|
||||
sigpath::sinkManager.unbindStream(_this->selectedStreamName, _this->audioInput);
|
||||
_this->vol.setInput(&_this->dummyStream);
|
||||
_this->audioInput = NULL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user