Merge pull request #806 from zxzxwu/avrcp-response

AVRCP: Reply ACCEPTED on set absolute volume
This commit is contained in:
zxzxwu
2025-10-28 14:39:26 +08:00
committed by GitHub

View File

@@ -2391,7 +2391,7 @@ class Protocol(utils.EventEmitter):
effective_volume = await self.delegate.get_absolute_volume()
self.send_avrcp_response(
transaction_label,
avc.ResponseFrame.ResponseCode.IMPLEMENTED_OR_STABLE,
avc.ResponseFrame.ResponseCode.ACCEPTED,
SetAbsoluteVolumeResponse(effective_volume),
)