Don't wait so long to check if stream is running (to avoid missing audio once 'resume' is called); 2ms is consistent with write wait time as well

pull/1833/head
Shane Lenagh 2024-02-06 06:45:57 -06:00
parent b2d0185a2d
commit 98d4b23baf
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ void audio_async::grpc_handler_thread() {
resume();
}
} else {
std::this_thread::sleep_for(std::chrono::milliseconds(100));
std::this_thread::sleep_for(std::chrono::milliseconds(2));
}
}
}