/* Return the current maximum bitneed and clear it.  */
OI_UINT8 OI_CODEC_SBC_GetMaxBitneed(OI_CODEC_SBC_COMMON_CONTEXT *common)
/* Return the current maximum bitneed and clear it.  */
OI_UINT8 OI_CODEC_SBC_GetMaxBitneed(OI_CODEC_SBC_COMMON_CONTEXT *common)
{
    OI_UINT8 max = common->maxBitneed;
    common->maxBitneed = 0;
    return max;
}