mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 15:11:31 +00:00
[client] audio: handle USB transport backpressure
This commit is contained in:
@@ -376,6 +376,11 @@ int spiceSession_thread(void * opaque)
|
||||
while (lgUsbRedir_disconnectPending(transport->usbRedir) &&
|
||||
microtime() < deadline)
|
||||
{
|
||||
if (!lgUsbRedir_process(transport->usbRedir))
|
||||
{
|
||||
DEBUG_WARN("Failed to process USB audio device removal");
|
||||
break;
|
||||
}
|
||||
status = purespice_process(10);
|
||||
if (status != PS_STATUS_RUN)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user