Home | History | Annotate | Download | only in src

Lines Matching refs:SampleCount

59     LVM_INT16        SampleCount;           /* Number of samples to be processed this call */
100 SampleCount = pInstance->InternalBlockSize;
112 SampleCount = (LVM_INT16)(NumFrames << MIN_INTERNAL_BLOCKSHIFT);
126 *pNumSamples = (LVM_UINT16)SampleCount; /* Set the number of samples to process this call */
164 pInstance->SamplesToProcess = (LVM_INT16)(pInstance->SamplesToProcess - SampleCount); /* Update the count of samples */
176 pStart += NumChannels*SampleCount; /* Offset by the number of processed samples */
291 LVM_INT16 SampleCount;
345 SampleCount = (LVM_INT16)(NumFrames << MIN_INTERNAL_BLOCKSHIFT);
346 *pNumSamples = (LVM_UINT16)SampleCount; /* The number of samples to process */
347 pBuffer->SamplesToOutput = (LVM_INT16)(pBuffer->SamplesToOutput - SampleCount); /* Update the number of samples to output */
348 SampleCount = (LVM_INT16)(SampleCount - pBuffer->InDelaySamples); /* The number of samples to copy from the input */
356 (LVM_INT16)(2*SampleCount)); /* Number of input samples */
357 pInstance->pInputSamples += 2 * SampleCount; /* Update the input pointer */
358 pInstance->pOutputSamples = pDest + (2 * SampleCount); /* Update the output pointer */
359 pInstance->SamplesToProcess = (LVM_INT16)(pInstance->SamplesToProcess - SampleCount); /* Samples left in the input buffer */
379 SampleCount = (LVM_INT16)(NumFrames << MIN_INTERNAL_BLOCKSHIFT);
380 *pNumSamples = (LVM_UINT16)SampleCount; /* The number of samples to process */
388 (LVM_INT16)(2*SampleCount)); /* Number of input samples */
389 pInstance->pInputSamples += 2 * SampleCount; /* Update the input pointer */
390 pInstance->pOutputSamples += 2 * SampleCount; /* Update the output pointer */
391 pInstance->SamplesToProcess = (LVM_INT16)(pInstance->SamplesToProcess - SampleCount); /* Samples left in the input buffer */
392 pBuffer->SamplesToOutput = (LVM_INT16)(pBuffer->SamplesToOutput - SampleCount); /* Number that will fit in the output buffer */
404 SampleCount = (LVM_INT16)(NumFrames << MIN_INTERNAL_BLOCKSHIFT);
405 *pNumSamples = (LVM_UINT16)SampleCount; /* The number of samples to process */
413 (LVM_INT16)(2*SampleCount)); /* Number of input samples */
414 pInstance->pInputSamples += 2 * SampleCount; /* Update the input pointer */
415 pInstance->SamplesToProcess = (LVM_INT16)(pInstance->SamplesToProcess - SampleCount); /* Samples left in the input buffer */
533 LVM_INT16 SampleCount = (LVM_INT16)*pNumSamples;
616 (SampleCount != 0))
618 if (SampleCount <= NumSamples)
625 SampleCount)); /* Number of processed samples */
630 pDest += 2 * SampleCount; /* Output sample pointer */
631 NumSamples = (LVM_INT16)(NumSamples - SampleCount); /* Samples left to send */
632 SampleCount = 0; /* No samples left in the buffer */
649 SampleCount = (LVM_INT16)(SampleCount - NumSamples); /* Processed samples left */
658 if (SampleCount != 0)
662 (LVM_INT16)(2*SampleCount)); /* Number of processed samples */
663 pBuffer->OutDelaySamples = (LVM_INT16)(pBuffer->OutDelaySamples + SampleCount); /* Update the buffer count */