OI_CODEC_SBC_DecoderConfigureRaw() function
This function sets the decoder parameters for a raw decode where the decoder parameters are not available in the sbc data stream. OI_CODEC_SBC_DecoderReset must be called prior to calling this function.
Arguments
context
Decoder context structure. This must be the context must be used each time a frame is decoded.
enhanced
Set to TRUE to enable Qualcomm proprietary quality enhancements.
frequency
One of SBC_FREQ_16000, SBC_FREQ_32000, SBC_FREQ_44100, SBC_FREQ_48000
mode
One of SBC_MONO, SBC_DUAL_CHANNEL, SBC_STEREO, SBC_JOINT_STEREO
subbands
One of SBC_SUBBANDS_4, SBC_SUBBANDS_8
blocks
One of SBC_BLOCKS_4, SBC_BLOCKS_8, SBC_BLOCKS_12, SBC_BLOCKS_16
alloc
One of SBC_LOUDNESS, SBC_SNR
maxBitpool
The maximum bitpool size for this context