Commit: 9ab125a8ec2062e3476cb3fcb42a5bac9ada7102
Parent: 549087a10b6366dd0bea8fdc3839255b9b016633
Author: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-10-18 10:25:40
Tree: d09f704dc16284485e1fdd676139816b1c117b63

AVRCP: Use track's UID in event notification When registering for TRACK_CHANGED event, CT expects the track's UID in the INTERIM and CHANGED responses. According to AVRCP 1.3 spec, there are only 2 possible values: 1) 0: there's a track selected 2) UINT32_MAX: there's no track selected AVRCP 1.4 reserves the value UINT64_MAX for the second case. Since this later value is the one used in certification process for best IOP we return UINT64_MAX instead of the former. This implementation allows to pass PTS test TP/NFY/BV-05-C.

Diffstat

M audio/avrcp.c | 16 +++++- - - - - - - - - - -
M audio/avrcp.h | 1 +
M audio/media.c | 17 ++++++++++++++++-

3 files changed, 22 insertions(+), 12 deletions(-)

View Full Diff | Patch