Re-enable microphone on reconnect

This commit is contained in:
Sapphire
2026-02-11 18:33:11 +01:00
committed by xytovl
parent 399477edf5
commit f0e3e8d4ad
4 changed files with 20 additions and 0 deletions
+5
View File
@@ -404,6 +404,11 @@ struct pulse_device : public audio_device
mic_buffer.push(std::move(mic_data));
}
void on_connect() override
{
session.send_control(to_headset::feature_control{to_headset::feature_control::microphone, true});
}
pulse_device(
const std::string & source_name,
const std::string & source_description,