mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-07-30 22:14:13 -04:00
Restart the device automatically if stuck with read stream errors
This commit is contained in:
@@ -84,7 +84,7 @@ static int audioCallback(void *outputBuffer, void * /* inputBuffer */, unsigned
|
||||
}
|
||||
|
||||
if (status) {
|
||||
std::cout << "Audio buffer underflow.." << (src->underflowCount++) << std::endl;
|
||||
std::cout << "Audio buffer underflow.." << (src->underflowCount++) << std::endl << std::flush;
|
||||
}
|
||||
|
||||
if (src->boundThreads.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user