OSDN Git Service

Simplify SBC encoder API
authorJakub Pawlowski <jpawlowski@google.com>
Tue, 25 Oct 2016 21:28:39 +0000 (14:28 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Wed, 26 Oct 2016 17:06:17 +0000 (17:06 +0000)
commit26f21028e2c8538d166a9005dd6d30831059ea05
treeeaf5e06822851ac6091af50c1f47fe72f30b3f05
parentf46a405cfa623767207eefd737694e1cb7a8d9e7
Simplify SBC encoder API

Currently it is unclear what the input, output, and configuration of
the SBC codec are. This patch refactors the use of the SBC_Encoder
function. Parameters for input and output are added, instead of passing
them in alongside the configuration.

Test: Tested A2DP playback
Change-Id: I755a022983f823475c14815cc0610f90a5fbc813
embdrv/sbc/encoder/include/sbc_enc_func_declare.h
embdrv/sbc/encoder/include/sbc_encoder.h
embdrv/sbc/encoder/srce/sbc_analysis.c
embdrv/sbc/encoder/srce/sbc_encoder.c
embdrv/sbc/encoder/srce/sbc_packing.c
include/bt_target.h
stack/a2dp/a2dp_sbc_encoder.cc