Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wiced_bt_a2dp_defs.h File Reference

Data Structures

struct  wiced_bt_a2d_vendor_cie_t
 Vendor Specific Codec information element type. More...
 
struct  wiced_bt_a2dp_sink_route_config
 Audio data route configuration. More...
 
struct  wiced_bt_a2dp_codec_info_t
 Codec information element structure, used to provide info of a single type of codec. More...
 
struct  wiced_bt_a2dp_source_route_config
 Audio data route configuration. More...
 
struct  wiced_bt_a2dp_sink_audio_tuning_params_t
 Audio quality tuning parameters Note. More...
 

Typedefs

typedef void(* wiced_bt_a2dp_sink_data_cb_t )(uint8_t *p_a2dp_data, uint32_t a2dp_data_len)
 A2DP data path callback type. More...
 

Enumerations

enum  wiced_bt_a2dp_codec_t { WICED_BT_A2DP_CODEC_SBC = 0x00, WICED_BT_A2DP_CODEC_M12 = 0x01, WICED_BT_A2DP_CODEC_M24 = 0x02, WICED_BT_A2DP_CODEC_VENDOR_SPECIFIC = 0xFF }
 Masks for supported Codecs. More...
 
enum  wiced_bt_a2dp_sink_overrun_control_t { WICED_BT_A2DP_SINK_OVERRUN_CONTROL_FLUSH_DATA, WICED_BT_A2DP_SINK_OVERRUN_CONTROL_FLOW_CONTROL_SOURCE }
 overrun flow control flag
 

Typedef Documentation

typedef void(* wiced_bt_a2dp_sink_data_cb_t)(uint8_t *p_a2dp_data, uint32_t a2dp_data_len)

A2DP data path callback type.

Application implements callback of this type to receive A2DP media packets. Receives raw PCM samples in case of SBC codec and encoded audio data in case of AAC codec

Parameters
p_audio_datapointer to audio data
a2dp_data_lenaudio data length
Returns
none

Enumeration Type Documentation

Masks for supported Codecs.

Enumerator
WICED_BT_A2DP_CODEC_SBC 

SBC Codec.

WICED_BT_A2DP_CODEC_M12 

MPEG-1, 2 Codecs.

WICED_BT_A2DP_CODEC_M24 

MPEG-2, 4 Codecs.

WICED_BT_A2DP_CODEC_VENDOR_SPECIFIC 

Vendor specific codec.