Integration of the AAC codec for A2DP source
Also: - Implemented data fragmentation inside bta_av_data_path() that is RTP compatible. - Do not use the codec_type when composing the RTP payload type per RFC 3016, Section 4.2. That value doesn't have actual meaning in the context of the Bluetooth supported codecs, and is ambiguous: all vendor codecs map to the same value 0xFF. - Updated support function A2DP_BitsSet() so it works for up to 64-bit integers. - Updated a log message inside l2c_data_write() to print packet length and peer MTU on error. Test: A2DP streaming to AAC headsets Bug: 30958229 Change-Id: I1b530f1c5c495b8231fd68bed788d4567096683d
Showing
- system/bta/av/bta_av_aact.cc 45 additions, 2 deletionssystem/bta/av/bta_av_aact.cc
- system/main/Android.bp 1 addition, 0 deletionssystem/main/Android.bp
- system/stack/Android.bp 9 additions, 1 deletionsystem/stack/Android.bp
- system/stack/a2dp/a2dp_aac.cc 1175 additions, 0 deletionssystem/stack/a2dp/a2dp_aac.cc
- system/stack/a2dp/a2dp_aac_encoder.cc 660 additions, 0 deletionssystem/stack/a2dp/a2dp_aac_encoder.cc
- system/stack/a2dp/a2dp_api.cc 4 additions, 10 deletionssystem/stack/a2dp/a2dp_api.cc
- system/stack/a2dp/a2dp_codec_config.cc 49 additions, 0 deletionssystem/stack/a2dp/a2dp_codec_config.cc
- system/stack/a2dp/a2dp_vendor.cc 4 additions, 2 deletionssystem/stack/a2dp/a2dp_vendor.cc
- system/stack/include/a2dp_aac.h 223 additions, 0 deletionssystem/stack/include/a2dp_aac.h
- system/stack/include/a2dp_aac_constants.h 65 additions, 0 deletionssystem/stack/include/a2dp_aac_constants.h
- system/stack/include/a2dp_aac_encoder.h 65 additions, 0 deletionssystem/stack/include/a2dp_aac_encoder.h
- system/stack/include/a2dp_api.h 1 addition, 1 deletionsystem/stack/include/a2dp_api.h
- system/stack/include/a2dp_constants.h 2 additions, 2 deletionssystem/stack/include/a2dp_constants.h
- system/stack/l2cap/l2c_main.cc 3 additions, 2 deletionssystem/stack/l2cap/l2c_main.cc
- system/stack/test/stack_a2dp_test.cc 277 additions, 7 deletionssystem/stack/test/stack_a2dp_test.cc
Loading
Please register or sign in to comment