Missing trace in AudioSink queue saturation

This commit is contained in:
vsonnier 2018-01-06 15:09:33 +01:00
parent 1dbfcedcd2
commit 8daadc3603

View File

@ -250,7 +250,9 @@ void DemodulatorThread::run() {
ati->peak = 0;
ati->data.assign(ati->data.size(), 0.0f);
localAudioSinkOutputQueue->try_push(ati);
if (!localAudioSinkOutputQueue->try_push(ati)) {
std::cout << "DemodulatorThread::run() cannot push ati into audioSinkOutputQueue, is full !" << std::endl;
}
}
ati = nullptr;