Searched refs:inputSampleRate (Results 1 – 3 of 3) sorted by relevance
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/asrc/ |
D | fsl_asrc.c | 314 uint32_t inputSampleRate, in ASRC_SetIdealRatioConfig() argument 321 ratio = (inputSampleRate / outputSampleRate) << ASRC_SAMPLE_RATIO_DECIMAL_DEPTH; in ASRC_SetIdealRatioConfig() 323 inputSampleRate %= outputSampleRate; in ASRC_SetIdealRatioConfig() 327 inputSampleRate <<= 1; in ASRC_SetIdealRatioConfig() 329 if (inputSampleRate < outputSampleRate) in ASRC_SetIdealRatioConfig() 335 inputSampleRate -= outputSampleRate; in ASRC_SetIdealRatioConfig() 337 if (0U == inputSampleRate) in ASRC_SetIdealRatioConfig() 343 …if (ASRC_ProcessSelection(inputSampleRate, outputSampleRate, &preProc, &postProc) != kStatus_Succe… in ASRC_SetIdealRatioConfig() 448 uint32_t inputSampleRate, in ASRC_SetChannelPairConfig() argument 458 if (((inputSampleRate < (uint32_t)kASRC_SampleRate_8000HZ) || in ASRC_SetChannelPairConfig() [all …]
|
D | fsl_asrc.h | 416 uint32_t inputSampleRate, 641 uint32_t inputSampleRate, 663 uint32_t inputSampleRate,
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/easrc/ |
D | fsl_asrc.c | 63 static uint32_t ASRC_GetSampleRateGCD(uint32_t inputSampleRate, uint32_t outputSampleRate); 107 uint32_t inputSampleRate, 120 uint32_t inputSampleRate, 224 static uint32_t ASRC_GetSampleRateGCD(uint32_t inputSampleRate, uint32_t outputSampleRate) in ASRC_GetSampleRateGCD() argument 226 uint32_t temp = 0U, gcd = inputSampleRate; in ASRC_GetSampleRateGCD() 294 uint32_t inputSampleRate, in ASRC_SetSampleRateRatioConfig() argument 301 uint32_t gcd = ASRC_GetSampleRateGCD(inputSampleRate, outputSampleRate); in ASRC_SetSampleRateRatioConfig() 302 uint32_t inRate = inputSampleRate / gcd; in ASRC_SetSampleRateRatioConfig() 327 uint32_t inputSampleRate, in ASRC_GetPrefilterConfig() argument 332 uint32_t gcd = ASRC_GetSampleRateGCD(inputSampleRate, outputSampleRate); in ASRC_GetPrefilterConfig() [all …]
|