component/bt: add conditional compilation direvatives to control the source code building of SBC codec

This commit is contained in:
wangmengyang
2017-03-17 15:57:30 +08:00
parent fda2e89a1e
commit 66fd3b9768
25 changed files with 131 additions and 34 deletions

View File

@@ -28,9 +28,12 @@
/**@addtogroup codec_internal */
/**@{*/
#include "bt_target.h"
#include "oi_codec_sbc_private.h"
#include "oi_bitstream.h"
#if (defined(SBC_DEC_INCLUDED) && SBC_DEC_INCLUDED == TRUE)
#define SPECIALIZE_READ_SAMPLES_JOINT
/**
@@ -463,3 +466,4 @@ PRIVATE void OI_SBC_ReadSamplesJoint(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_B
/**@}*/
#endif /* #if (defined(SBC_DEC_INCLUDED) && SBC_DEC_INCLUDED == TRUE) */