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
@@ -33,9 +33,11 @@ This file exposes OINA-specific interfaces to decoder functions.
@{
*/
#include "bt_target.h"
#include <oi_codec_sbc_private.h>
#if (defined(SBC_DEC_INCLUDED) && SBC_DEC_INCLUDED == TRUE)
OI_STATUS OI_CODEC_SBC_DecoderConfigureRaw(OI_CODEC_SBC_DECODER_CONTEXT *context,
OI_BOOL enhanced,
OI_UINT8 frequency,
@@ -135,3 +137,5 @@ OI_STATUS OI_CODEC_SBC_DecoderLimit(OI_CODEC_SBC_DECODER_CONTEXT *context,
/**
@}
*/
#endif /* #if (defined(SBC_DEC_INCLUDED) && SBC_DEC_INCLUDED == TRUE) */