Lines Matching refs:s16SamplingFreq
204 UINT16 s16SamplingFreq; /*temp variable to store smpling freq*/ in SBC_Encoder_Init() local
219 if (pstrEncParams->s16SamplingFreq == SBC_sf16000) in SBC_Encoder_Init()
220 s16SamplingFreq = 16000; in SBC_Encoder_Init()
221 else if (pstrEncParams->s16SamplingFreq == SBC_sf32000) in SBC_Encoder_Init()
222 s16SamplingFreq = 32000; in SBC_Encoder_Init()
223 else if (pstrEncParams->s16SamplingFreq == SBC_sf44100) in SBC_Encoder_Init()
224 s16SamplingFreq = 44100; in SBC_Encoder_Init()
226 s16SamplingFreq = 48000; in SBC_Encoder_Init()
232 pstrEncParams->s16NumOfSubBands * 1000 / s16SamplingFreq) in SBC_Encoder_Init()
245 s16BitRate = (8 * s16FrameLen * s16SamplingFreq) in SBC_Encoder_Init()
261 / (s16SamplingFreq * pstrEncParams->s16NumOfChannels)) in SBC_Encoder_Init()
274 HeaderParams = ((pstrEncParams->s16SamplingFreq & 3)<< 6); in SBC_Encoder_Init()