Recording path notify, bookmark panel record buttons, tweaks and adjustments

This commit is contained in:
Charles J. Cliffe
2017-12-04 22:44:47 -05:00
parent 326a993a29
commit b9e4f6aeba
10 changed files with 84 additions and 14 deletions
+6 -7
View File
@@ -331,12 +331,11 @@ void DemodulatorThread::run() {
std::cout << "DemodulatorThread::run() cannot push ati into audioOutputQueue, is full !" << std::endl;
std::this_thread::yield();
}
if (localAudioSinkOutputQueue != nullptr) {
if (!audioSinkOutputQueue->try_push(ati)) {
std::cout << "DemodulatorThread::run() cannot push ati into audioSinkOutputQueue, is full !" << std::endl;
std::this_thread::yield();
}
}
if (localAudioSinkOutputQueue != nullptr) {
if (!audioSinkOutputQueue->try_push(ati)) {
std::cout << "DemodulatorThread::run() cannot push ati into audioSinkOutputQueue, is full !" << std::endl;
}
}
}
@@ -418,4 +417,4 @@ void DemodulatorThread::releaseSquelchLock(DemodulatorInstance* inst) {
if (inst == nullptr || squelchLock == inst) {
squelchLock = nullptr;
}
}
}