bt_a2dp

Module media_types

Source
Expand description

Describing and encapsulating A2DP media codecs

Structs§

  • Channels field for MPEG-2,4 AAC (Octet 2; b2-3). Support for both 1 and 2 channels is mandatory in A2DP Sink. Support for either 1 or 2 channels is mandatory in A2DP Source. A2DP Sec 4.5.2.3
  • Object Type field for MPEG-2,4 AAC (Octet 0; b0-7). Support for MPEG-2 AAC LC is mandatory in both A2DP Sink and Source. Bits 0 to 4 are RFA. A2DP Sec. 4.5.2.1
  • Sampling Frequency field for MPEG-2,4 AAC (Octet 1; b0-7, Octet 2; b4-7) Support for 44.1KHz & 48.0KHz is mandatory in A2DP Sink. Support for either 44.1KHz or 48.0KHz is mandatory in A2DP Source. A2DP Sec. 4.5.2.2
  • Allocation Method field for SBC (Octet 1; b0-1). Support for both SNR and Loudness is mandatory in A2DP Sink. Support for at least Loudness is mandatory in A2DP Source. SNR is optional. A2DP Sec. 4.3.2.5
  • The Block Length field for SBC (Octet 1; b4-7). Support for all block lengths is mandatory in both A2DP Sink and Source. A2DP Sec. 4.3.2.3
  • Channel Mode field for SBC (Octet 0; b0-3). Support for all modes is mandatory in A2DP sink. Mono and at least one of Dual Channel, Stereo, and Joint Stereo must be supported by A2DP source. A2DP Sec. 4.3.2.2
  • Sampling Frequency field for SBC (Octet 0; b4-7). 44100Hz and 48000Hz are mandatory for A2DP sink. A2DP source must support at least one of 44100Hz and 48000Hz. A2DP Sec. 4.3.2.1
  • The Number of Subbands field for SBC (Octet 1; b2-3). Support for both 4 and 8 subbands is mandatory in A2DP Sink. Support for only 8 subbands is mandatory in A2DP Source. 4 subbands is optional. A2DP Sec. 4.3.2.4

Constants§