27 Jun 2012 15:27
[PATCH v2 01/14] AVRCP: Update constants
Change all specification constants to enum type. Also add constants for addressed player feature. --- audio/avrcp.c | 151 ++++++++++++++++++++++++++++++++------------------------- audio/avrcp.h | 107 ++++++++++++++++++++++------------------ audio/media.c | 2 +- 3 files changed, 146 insertions(+), 114 deletions(-) diff --git a/audio/avrcp.c b/audio/avrcp.c index 89ee112..da102b2 100644 --- a/audio/avrcp.c +++ b/audio/avrcp.c <at> <at> -58,56 +58,73 <at> <at> #include "sdpd.h" #include "dbus-common.h" -/* Company IDs for vendor dependent commands */ -#define IEEEID_BTSIG 0x001958 - -/* Error codes for metadata transfer */ -#define E_INVALID_COMMAND 0x00 -#define E_INVALID_PARAM 0x01 -#define E_PARAM_NOT_FOUND 0x02 -#define E_INTERNAL 0x03 - -/* Packet types */ -#define AVRCP_PACKET_TYPE_SINGLE 0x00 -#define AVRCP_PACKET_TYPE_START 0x01 -#define AVRCP_PACKET_TYPE_CONTINUING 0x02 -#define AVRCP_PACKET_TYPE_END 0x03(Continue reading)
RSS Feed