android,linux: fix random volume jumps (#192)

* android: update feature flags packet data byte to remove adaptive volume
* linux: update feature flags to prevent volume jumps
This commit is contained in:
Kavish Devar
2025-08-25 21:25:29 +05:30
committed by GitHub
parent eb1b633aff
commit 75fa80c17e
2 changed files with 3 additions and 3 deletions

View File

@@ -389,7 +389,7 @@ class AACPManager {
fun createSetFeatureFlagsPacket(): ByteArray {
val opcode = byteArrayOf(Opcodes.SET_FEATURE_FLAGS, 0x00)
val data = byteArrayOf(0xFF.toByte(), 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)
val data = byteArrayOf(0xD7.toByte(), 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)
return opcode + data
}