OI_CODEC_SBC_DecoderLimit() function
This function restricts the kind of SBC frames that the Decoder will process. Its use is optional. If used, it must be called after calling OI_CODEC_SBC_DecoderReset(). After it is called, any calls to OI_CODEC_SBC_DecodeFrame() with SBC frames that do not conform to the Subband and Enhanced SBC setting will be rejected with an OI_STATUS_INVALID_PARAMETERS return.
Arguments
context
Pointer to the decoder context structure to be limited.
enhanced
If true, all frames passed to the decoder must be Enhanced SBC frames. If false, all frames must be standard SBC frames.
subbands
May be set to SBC_SUBBANDS_4 or SBC_SUBBANDS_8. All frames passed to the decoder must be encoded with the requested number of subbands.