Lines Matching refs:s16SamplingFreq
164 uint16_t s16SamplingFreq; /*temp variable to store smpling freq*/ in SBC_Encoder_Init() local
177 if (pstrEncParams->s16SamplingFreq == SBC_sf16000) in SBC_Encoder_Init()
178 s16SamplingFreq = 16000; in SBC_Encoder_Init()
179 else if (pstrEncParams->s16SamplingFreq == SBC_sf32000) in SBC_Encoder_Init()
180 s16SamplingFreq = 32000; in SBC_Encoder_Init()
181 else if (pstrEncParams->s16SamplingFreq == SBC_sf44100) in SBC_Encoder_Init()
182 s16SamplingFreq = 44100; in SBC_Encoder_Init()
184 s16SamplingFreq = 48000; in SBC_Encoder_Init()
190 1000 / s16SamplingFreq) - in SBC_Encoder_Init()
206 s16BitRate = (8 * s16FrameLen * s16SamplingFreq) / in SBC_Encoder_Init()
219 (s16SamplingFreq * pstrEncParams->s16NumOfChannels)) - in SBC_Encoder_Init()
232 HeaderParams = ((pstrEncParams->s16SamplingFreq & 3) << 6); in SBC_Encoder_Init()