Bluetooth: Audio: Additional MEDIA_PROXY defines
Add two MEDIA_PROXY group type defines corresponding to the MCS ones. Update the mpl.c to use the newly added names. The purpose of the exercise is to get a complete set of MEDIA_PROXY defines, so that the media player can be made fully independent (define-wise) of the MCS. Signed-off-by: Asbjørn Sæbø <asbjorn.sabo@nordicsemi.no>
This commit is contained in:
parent
704d5ee0bf
commit
dbe8a3ff96
2 changed files with 6 additions and 2 deletions
|
@ -386,7 +386,7 @@ static uint32_t setup_parent_group_object(struct mpl_group *group)
|
|||
/* poinbter in the other direction, so it is not possible to go from */
|
||||
/* the parent group to a group of tracks. */
|
||||
|
||||
uint8_t type = BT_MCS_GROUP_OBJECT_GROUP_TYPE;
|
||||
uint8_t type = MEDIA_PROXY_GROUP_OBJECT_GROUP_TYPE;
|
||||
uint8_t record_size = sizeof(type) + BT_OTS_OBJ_ID_SIZE;
|
||||
int next_size = record_size;
|
||||
|
||||
|
@ -419,7 +419,7 @@ static uint32_t setup_parent_group_object(struct mpl_group *group)
|
|||
static uint32_t setup_group_object(struct mpl_group *group)
|
||||
{
|
||||
struct mpl_track *track = group->track;
|
||||
uint8_t type = BT_MCS_GROUP_OBJECT_TRACK_TYPE;
|
||||
uint8_t type = MEDIA_PROXY_GROUP_OBJECT_TRACK_TYPE;
|
||||
uint8_t record_size = sizeof(type) + BT_OTS_OBJ_ID_SIZE;
|
||||
int next_size = record_size;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue