component/bt: add conditional compilation direvatives to control the source code building of SBC codec
This commit is contained in:
@@ -36,9 +36,12 @@ frame length and bitrate.
|
||||
@{
|
||||
*/
|
||||
|
||||
#include "bt_target.h"
|
||||
#include "oi_utils.h"
|
||||
#include <oi_codec_sbc_private.h>
|
||||
|
||||
#if (defined(SBC_DEC_INCLUDED) && SBC_DEC_INCLUDED == TRUE)
|
||||
|
||||
OI_UINT32 OI_SBC_MaxBitpool(OI_CODEC_SBC_FRAME_INFO *frame)
|
||||
{
|
||||
switch (frame->mode) {
|
||||
@@ -398,3 +401,5 @@ void monoBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT *common)
|
||||
/**
|
||||
@}
|
||||
*/
|
||||
|
||||
#endif /* #if (defined(SBC_DEC_INCLUDED) && SBC_DEC_INCLUDED == TRUE) */
|
||||
|
||||
Reference in New Issue
Block a user