Skip to content

Commit 33671fc

Browse files
committed
linux-rust: try enabling adaptive volume
1 parent f0ff8ee commit 33671fc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

linux-rust/src/bluetooth/aacp.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,8 @@ impl AACPManager {
799799

800800
pub async fn send_set_feature_flags_packet(&self) -> Result<()> {
801801
let opcode = [opcodes::SET_FEATURE_FLAGS, 0x00];
802-
let data = [0xD7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00];
802+
// let data = [0xD7, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00];
803+
let data = [0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]; // adaptive volume is actually useful, seeing if it works
803804
let packet = [opcode.as_slice(), data.as_slice()].concat();
804805
self.send_data_packet(&packet).await
805806
}

0 commit comments

Comments
 (0)