Searched refs:channelNum (Results 1 – 3 of 3) sorted by relevance
106 uint8_t channelNum; in HAL_AudioCommonInit() local129 channelNum = (uint8_t)config->lineChannels; in HAL_AudioCommonInit()140 if (channelNum == (uint8_t)kHAL_AudioMono) in HAL_AudioCommonInit()143 channelNum = 1; in HAL_AudioCommonInit()145 else if (channelNum == (uint8_t)kHAL_AudioMonoRight) in HAL_AudioCommonInit()149 channelNum = 2; in HAL_AudioCommonInit()151 else if (channelNum == (uint8_t)kHAL_AudioMonoLeft) in HAL_AudioCommonInit()154 channelNum = 2; in HAL_AudioCommonInit()162 …)(config->srcClock_Hz / (uint32_t)config->sampleRate_Hz / (uint32_t)config->bitWidth / channelNum); in HAL_AudioCommonInit()166 i2sConfig.frameLength = (uint16_t)config->bitWidth * channelNum; in HAL_AudioCommonInit()[all …]
269 uint8_t channelNum; in HAL_AudioCommonInit() local335 channelNum = (uint8_t)config->lineChannels; in HAL_AudioCommonInit()337 if (channelNum == (uint8_t)kHAL_AudioMono) in HAL_AudioCommonInit()341 channelNum = 1; in HAL_AudioCommonInit()343 else if (channelNum < (uint8_t)kHAL_AudioStereo) in HAL_AudioCommonInit()347 saiConfig.serialData.dataMaskedWord = 0x1UL << channelNum; in HAL_AudioCommonInit()348 channelNum = 2; in HAL_AudioCommonInit()352 saiConfig.frameSync.frameSyncWidth = config->bitWidth * channelNum >> 1U; in HAL_AudioCommonInit()353 saiConfig.serialData.dataWordNum = channelNum; in HAL_AudioCommonInit()558 config->bitWidth, channelNum); in HAL_AudioCommonInit()[all …]
1010 uint8_t channelNum; in SRTM_SaiSdmaAdapter_Start() local1101 channelNum = 2U; in SRTM_SaiSdmaAdapter_Start()1105 channelNum = 1U; in SRTM_SaiSdmaAdapter_Start()1110 …guardPeroids = (uint32_t)(((uint64_t)thisRtm->srate * thisRtm->bitWidth * channelNum * (*guardTime… in SRTM_SaiSdmaAdapter_Start()