Put not requested tracking on standby

This commit is contained in:
Patrick Nicolas
2024-09-03 23:34:23 +02:00
parent 843a83761a
commit 96bbfa1a23
17 changed files with 178 additions and 51 deletions
+3 -2
View File
@@ -80,7 +80,8 @@ private:
std::thread network_thread;
std::mutex local_floor_mutex;
xr::space local_floor;
std::atomic<std::chrono::nanoseconds::rep> tracking_prediction_offset = 0;
std::mutex tracking_control_mutex;
to_headset::tracking_control tracking_control;
std::atomic<XrDuration> display_time_phase = 0;
std::atomic<XrDuration> display_time_period = 0;
std::optional<std::thread> tracking_thread;
@@ -138,7 +139,7 @@ public:
void operator()(to_headset::video_stream_data_shard &&);
void operator()(to_headset::haptics &&);
void operator()(to_headset::timesync_query &&);
void operator()(to_headset::prediction_offset &&);
void operator()(to_headset::tracking_control &&);
void operator()(to_headset::audio_stream_description &&);
void operator()(to_headset::video_stream_description &&);
void operator()(audio_data &&);