Lines Matching refs:area
491 /** PCM area specification */
1198 * \brief get the address of the given PCM channel area
1199 * \param area PCM channel area
1202 * Returns the pointer corresponding to the given offset on the channel area.
1204 static inline void *snd_pcm_channel_area_addr(const snd_pcm_channel_area_t *area, snd_pcm_uframes_t offset)
1206 return (char *)area->addr + (area->first + area->step * offset) / 8;
1210 * \brief get the step size of the given PCM channel area in bytes
1211 * \param area PCM channel area
1213 * Returns the step size in bytes from the given channel area.
1215 static inline unsigned int snd_pcm_channel_area_step(const snd_pcm_channel_area_t *area)
1217 return area->step / 8;