Searched refs:gcd (Results 1 – 1 of 1) sorted by relevance
226 uint32_t temp = 0U, gcd = inputSampleRate; in ASRC_GetSampleRateGCD() local231 outputSampleRate = gcd % outputSampleRate; in ASRC_GetSampleRateGCD()232 gcd = temp; in ASRC_GetSampleRateGCD()235 return gcd; in ASRC_GetSampleRateGCD()301 uint32_t gcd = ASRC_GetSampleRateGCD(inputSampleRate, outputSampleRate); in ASRC_SetSampleRateRatioConfig() local302 uint32_t inRate = inputSampleRate / gcd; in ASRC_SetSampleRateRatioConfig()303 uint32_t outRate = outputSampleRate / gcd; in ASRC_SetSampleRateRatioConfig()332 uint32_t gcd = ASRC_GetSampleRateGCD(inputSampleRate, outputSampleRate); in ASRC_GetPrefilterConfig() local333 uint32_t inSampleRate = inputSampleRate / gcd; in ASRC_GetPrefilterConfig()334 uint32_t outSampleRate = outputSampleRate / gcd; in ASRC_GetPrefilterConfig()