Control the tracking loop from server side

On server side, collect each tracking request, create an explicit pattern
describing how the client shall execute them.
This commit is contained in:
Patrick Nicolas
2026-01-29 09:51:52 +01:00
parent 0a71756024
commit fc01002317
28 changed files with 523 additions and 556 deletions
+1 -1
View File
@@ -426,7 +426,7 @@ struct pulse_device : public audio_device
if (not mic_pipe)
throw std::system_error(errno, std::system_category(), "failed to open mic pipe " + microphone->socket.string());
mic_thread = std::thread([this]() { run_mic(); });
session.set_enabled(to_headset::tracking_control::id::microphone, true);
session.send_control(to_headset::feature_control{to_headset::feature_control::microphone, true});
}
if (info.speaker)