Home | History | Annotate | Download | only in audio

Lines Matching refs:stride

294 	return frames * fmt->channels * fmt->stride / NBBY;
337 * This function can be used only if the stride of the 'ring' is equal to
338 * the internal stride. Don't use this for hw buffer.
343 KASSERTMSG(ring->fmt.stride == sizeof(aint_t) * NBBY,
344 "ring->fmt.stride=%d sizeof(aint_t)*NBBY=%zd",
345 ring->fmt.stride, sizeof(aint_t) * NBBY);
352 * This function can be used only if the stride of the 'ring' is equal to
353 * the internal stride. Don't use this for hw buffer.
358 KASSERTMSG(ring->fmt.stride == sizeof(aint_t) * NBBY,
359 "ring->fmt.stride=%d sizeof(aint_t)*NBBY=%zd",
360 ring->fmt.stride, sizeof(aint_t) * NBBY);
367 * This function can be used even if the stride of the 'ring' is equal to
368 * or not equal to the internal stride.
374 ring->head * ring->fmt.channels * ring->fmt.stride / NBBY;
380 * This function can be used even if the stride of the 'ring' is equal to
381 * or not equal to the internal stride.
387 auring_tail(ring) * ring->fmt.channels * ring->fmt.stride / NBBY;