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
@@ -95,8 +95,11 @@
*/
#include "bt_target.h"
#include <oi_codec_sbc_private.h>
#if (defined(SBC_DEC_INCLUDED) && SBC_DEC_INCLUDED == TRUE)
#ifndef SBC_DEQUANT_LONG_SCALED_OFFSET
#define SBC_DEQUANT_LONG_SCALED_OFFSET 1555931970
#endif
@@ -208,3 +211,5 @@ INLINE OI_INT32 OI_SBC_Dequant_Unscaled(OI_UINT32 raw, OI_UINT scale_factor, OI_
/**
@}
*/
#endif /* #if (defined(SBC_DEC_INCLUDED) && SBC_DEC_INCLUDED == TRUE) */