Home
last modified time | relevance | path

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

/Linux-v4.19/sound/core/oss/
Dpcm_plugin.c659 int snd_pcm_area_silence(const struct snd_pcm_channel_area *dst_area, size_t dst_offset, in snd_pcm_area_silence() argument
667 if (!dst_area->addr) in snd_pcm_area_silence()
669 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_silence()
673 if (dst_area->step == (unsigned int) width && width >= 8) in snd_pcm_area_silence()
678 dst_step = dst_area->step / 8; in snd_pcm_area_silence()
681 int dstbit = dst_area->first % 8; in snd_pcm_area_silence()
682 int dstbit_step = dst_area->step % 8; in snd_pcm_area_silence()
706 const struct snd_pcm_channel_area *dst_area, size_t dst_offset, in snd_pcm_area_copy() argument
715 return snd_pcm_area_silence(dst_area, dst_offset, samples, format); in snd_pcm_area_copy()
716 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_copy()
[all …]