Commit: a282fff97dabbd3a814765a868e3367cb3dc1ce3
Parent: 54c412c3708ef303e283e4c7c7f5fb9577183c08
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-05-18 20:48:12
Tree: 8f87409a883fe4de0e2420ae472561f8dc594e06

AVRCP: Subscribe for VolumeChanged Notification If the remote device support version 1.4 or latter send register command for VolumeChanged event: < AVCTP: Command : pt 0x00 transaction 0 pid 0x110e AV/C: Notify: address 0x48 opcode 0x00 Subunit: Panel Opcode: Vendor Dependent Company ID: 0x001958 AVRCP: RegisterNotification: pt Single len 0x0005 EventID: 0x0d (EVENT_VOLUME_CHANGED) Interval: 0x00000000 (0 seconds) > AVCTP: Response : pt 0x00 transaction 0 pid 0x110e AV/C: Interim: address 0x48 opcode 0x00 Subunit: Panel Opcode: Vendor Dependent Company ID: 0x001958 AVRCP: RegisterNotification: pt Single len 0x0002 EventID: 0x0d (EVENT_VOLUME_CHANGED) Volume: 100.00% (127/127)

Diffstat

M audio/avctp.c | 82 ++++++++++++++++++++++++++++++++++++++++- - - - - - - -
M audio/avctp.h | 7 +++++++
M audio/avrcp.c | 62 ++++++++++++++++++++++++++++++++++++++++-
M audio/avrcp.h | 2 ++
M audio/media.c | 32 +++++++++++++++++++++++++++++++-
M audio/transport.c | 15 +++++++++++++++
M audio/transport.h | 2 ++

7 files changed, 192 insertions(+), 10 deletions(-)

View Full Diff | Patch