Home
last modified time | relevance | path

Searched refs:outSamples (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/asrc/
Dfsl_asrc.c574 uint32_t outSamples = 0U; in ASRC_GetOutSamplesSize() local
606 outSamples = (uint32_t)((uint64_t)inSamples * outSampleRate / inSampleRate); in ASRC_GetOutSamplesSize()
608 outSamples = outSamples - outSamples % audioChannels; in ASRC_GetOutSamplesSize()
614 outSamplesBufSize = outSamples * 4U; in ASRC_GetOutSamplesSize()
618 outSamplesBufSize = outSamples * 2U; in ASRC_GetOutSamplesSize()
624 outSamplesBufSize = outSamples * 4U; in ASRC_GetOutSamplesSize()
650 …uint32_t status = 0U, inSampleMask = 0U, inSamples = 0U, outSamples = 0U, inWidth = 0U, outWidth =… in ASRC_TransferBlocking() local
654 outSamples = xfer->outDataSize / outWidth; in ASRC_TransferBlocking()
658 while (outSamples != 0U) in ASRC_TransferBlocking()
672 if (outSamples > outWaterMark) in ASRC_TransferBlocking()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/easrc/
Dfsl_asrc.c1038 uint32_t outSamples = xfer->outDataSize / outWidth; in ASRC_TransferBlocking() local
1047 while ((inSamples != 0U) || (outSamples != 0U)) in ASRC_TransferBlocking()
1072 if (outSamples <= outWatermarkSamples) in ASRC_TransferBlocking()
1074 … readSamples = ASRC_ReadFIFORemainedSample(base, context, readPointer, outWidth, outSamples); in ASRC_TransferBlocking()
1083 outSamples -= readSamples; in ASRC_TransferBlocking()
1098 outSamples -= readSamples; in ASRC_TransferBlocking()
1103 if ((inSamples == 0U) && (outSamples > outWatermarkSamples)) in ASRC_TransferBlocking()