Fix microphone not restarting on reconnect

This commit is contained in:
Patrick Nicolas
2024-11-25 19:39:58 +01:00
parent b856df8638
commit 06421f4fdd
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -56,6 +56,7 @@ class audio
std::atomic<bool> speaker_stop_ack = false;
AAudioStreamStruct * microphone = nullptr;
std::atomic<bool> microphone_stop_ack = false;
std::atomic<bool> mic_running = false;
wivrn_session & session;
xr::instance & instance;