avdtp.h (e787eab08fe37dde00d28f9cae1f7bf23df69ea3) avdtp.h (24d5fe847f80d6f46ff13a477a6de59ffa59664f)
1/*
2 * Copyright (C) 2016 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 162 unchanged lines hidden (view full) ---

171 AVDTP_CODEC_MPEG_1_2_AUDIO = 0x01,
172 AVDTP_CODEC_MPEG_2_4_AAC = 0x02,
173 AVDTP_CODEC_MPEG_D_USAC = 0x03,
174 AVDTP_CODEC_ATRAC_FAMILY = 0x04,
175 AVDTP_CODEC_NON_A2DP = 0xFF
176} avdtp_media_codec_type_t;
177
178typedef enum {
1/*
2 * Copyright (C) 2016 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 162 unchanged lines hidden (view full) ---

171 AVDTP_CODEC_MPEG_1_2_AUDIO = 0x01,
172 AVDTP_CODEC_MPEG_2_4_AAC = 0x02,
173 AVDTP_CODEC_MPEG_D_USAC = 0x03,
174 AVDTP_CODEC_ATRAC_FAMILY = 0x04,
175 AVDTP_CODEC_NON_A2DP = 0xFF
176} avdtp_media_codec_type_t;
177
178typedef enum {
179 AVDTP_USAC_OBJECT_TYPE_MPEG_D_DRC = 0x00,
180 AVDTP_USAC_OBJECT_TYPE_RFU
181} avdtp_usac_object_type_t;
182
183typedef enum {
179 AVDTP_CONTENT_PROTECTION_DTCP = 0x0001,
180 AVDTP_CONTENT_PROTECTION_SCMS_T = 0x0002
181} avdtp_content_protection_type_t;
182
183typedef enum {
184 AVDTP_SOURCE = 0,
185 AVDTP_SINK
186} avdtp_sep_type_t;

--- 153 unchanged lines hidden (view full) ---

340 uint32_t sampling_frequency;
341 uint8_t channels;
342 uint32_t bit_rate;
343 uint8_t vbr;
344 bool drc;
345} avdtp_configuration_mpeg_aac_t;
346
347typedef struct {
184 AVDTP_CONTENT_PROTECTION_DTCP = 0x0001,
185 AVDTP_CONTENT_PROTECTION_SCMS_T = 0x0002
186} avdtp_content_protection_type_t;
187
188typedef enum {
189 AVDTP_SOURCE = 0,
190 AVDTP_SINK
191} avdtp_sep_type_t;

--- 153 unchanged lines hidden (view full) ---

345 uint32_t sampling_frequency;
346 uint8_t channels;
347 uint32_t bit_rate;
348 uint8_t vbr;
349 bool drc;
350} avdtp_configuration_mpeg_aac_t;
351
352typedef struct {
353 avdtp_usac_object_type_t object_type;
354 uint32_t sampling_frequency;
355 uint8_t channels;
356 uint32_t bit_rate;
357 uint8_t vbr;
358} avdtp_configuration_mpegd_usac_t;
359
360typedef struct {
348 avdtp_atrac_version_t version;
349 avdtp_channel_mode_t channel_mode;
350 uint16_t sampling_frequency;
351 uint8_t vbr;
352 uint8_t bit_rate_index;
353 uint16_t maximum_sul;
354} avdtp_configuration_atrac_t;
355

--- 384 unchanged lines hidden ---
361 avdtp_atrac_version_t version;
362 avdtp_channel_mode_t channel_mode;
363 uint16_t sampling_frequency;
364 uint8_t vbr;
365 uint8_t bit_rate_index;
366 uint16_t maximum_sul;
367} avdtp_configuration_atrac_t;
368

--- 384 unchanged lines hidden ---