Home
last modified time | relevance | path

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

/third_party/alsa-lib/src/pcm/
Dpcm_mmap.c268 if (CHECK_SANITY(pcm->mmap_channels || pcm->running_areas)) { in snd_pcm_mmap()
283 pcm->running_areas = calloc(pcm->channels, sizeof(pcm->running_areas[0])); in snd_pcm_mmap()
284 if (!pcm->running_areas) { in snd_pcm_mmap()
295 free(pcm->running_areas); in snd_pcm_mmap()
297 pcm->running_areas = NULL; in snd_pcm_mmap()
303 snd_pcm_channel_area_t *a = &pcm->running_areas[c]; in snd_pcm_mmap()
520 free(pcm->running_areas); in snd_pcm_munmap()
522 pcm->running_areas = NULL; in snd_pcm_munmap()
Dpcm_generic.c308 pcm->running_areas = generic->slave->running_areas; in snd_pcm_generic_mmap()
319 pcm->running_areas = NULL; in snd_pcm_generic_munmap()
Dpcm_multi.c306 …err = snd_pcm_areas_silence(slave->running_areas, 0, slave->channels, slave->buffer_size, slave->f… in snd_pcm_multi_hw_params_slave()
794 free(pcm->running_areas); in snd_pcm_multi_munmap()
796 pcm->running_areas = NULL; in snd_pcm_multi_munmap()
807 pcm->running_areas = calloc(pcm->channels, in snd_pcm_multi_mmap()
808 sizeof(pcm->running_areas[0])); in snd_pcm_multi_mmap()
809 if (!pcm->mmap_channels || !pcm->running_areas) { in snd_pcm_multi_mmap()
826 pcm->running_areas[c] = in snd_pcm_multi_mmap()
827 slave->running_areas[chan->slave_channel]; in snd_pcm_multi_mmap()
Dpcm_share.c319 snd_pcm_areas_silence(pcm->running_areas, offset, pcm->channels, frames, pcm->format); in _snd_pcm_share_missing()
661 …snd_pcm_areas_silence(slave->pcm->running_areas, 0, slave->pcm->channels, slave->pcm->buffer_size,… in snd_pcm_share_hw_params()
912 snd_pcm_areas_silence(pcm->running_areas, 0, pcm->channels, pcm->buffer_size, pcm->format); in snd_pcm_share_reset()
955 snd_pcm_areas_copy(pcm->running_areas, offset, in snd_pcm_share_start()
1137 pcm->running_areas, 0, in _snd_pcm_share_stop()
1143 snd_pcm_areas_silence(pcm->running_areas, 0, pcm->channels, in _snd_pcm_share_stop()
Dpcm_local.h241 snd_pcm_channel_area_t *running_areas; member
596 return pcm->running_areas; in snd_pcm_mmap_areas()