OSDN Git Service

Removed the feeding_init call from tA2DP_ENCODER_INTERFACE
authorPavlin Radoslavov <pavlin@google.com>
Wed, 11 Jan 2017 18:35:15 +0000 (10:35 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Wed, 11 Jan 2017 18:40:17 +0000 (10:40 -0800)
commitf8e2670d12ee55ec48635ef55a86ecfa643cc761
treeecb9f418ff6019befe016041d7a7e38afa858ab8
parentd556b752bd9f4219aa5b02c12ab1507b9f6e186b
Removed the feeding_init call from tA2DP_ENCODER_INTERFACE

The feeding_init call is not used anymore - it has been superseded
by the newer A2dpCodecs.setCodecAudioConfig() mechanism.

Also, moved aptx_init_framing_params() and aptx_hd_init_framing_params()
calls to the corresponding encoder_update functions.

Test: A2DP streaming to Bluetooth headsets
Change-Id: I52f42b4701d04fe2ddb8f115bb9cd57fe38e2b38
13 files changed:
stack/a2dp/a2dp_sbc.cc
stack/a2dp/a2dp_sbc_encoder.cc
stack/a2dp/a2dp_vendor_aptx.cc
stack/a2dp/a2dp_vendor_aptx_encoder.cc
stack/a2dp/a2dp_vendor_aptx_hd.cc
stack/a2dp/a2dp_vendor_aptx_hd_encoder.cc
stack/a2dp/a2dp_vendor_ldac.cc
stack/a2dp/a2dp_vendor_ldac_encoder.cc
stack/include/a2dp_codec_api.h
stack/include/a2dp_sbc_encoder.h
stack/include/a2dp_vendor_aptx_encoder.h
stack/include/a2dp_vendor_aptx_hd_encoder.h
stack/include/a2dp_vendor_ldac_encoder.h