From 381b09725b90fb9d65208bcedad621b3c82a2876 Mon Sep 17 00:00:00 2001 From: Kavish Devar Date: Sat, 8 Nov 2025 22:06:27 +0530 Subject: [PATCH] linux-rust: try enabling adaptive volume --- linux-rust/src/bluetooth/aacp.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux-rust/src/bluetooth/aacp.rs b/linux-rust/src/bluetooth/aacp.rs index 5e11cc7..612cce2 100644 --- a/linux-rust/src/bluetooth/aacp.rs +++ b/linux-rust/src/bluetooth/aacp.rs @@ -799,7 +799,8 @@ impl AACPManager { pub async fn send_set_feature_flags_packet(&self) -> Result<()> { let opcode = [opcodes::SET_FEATURE_FLAGS, 0x00]; - let data = [0xD7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]; + // let data = [0xD7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]; + let data = [0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]; // adaptive volume is actually useful, seeing if it works let packet = [opcode.as_slice(), data.as_slice()].concat(); self.send_data_packet(&packet).await }