Home
last modified time | relevance | path

Searched refs:mmap_channels (Results 1 – 7 of 7) 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()
280 pcm->mmap_channels = calloc(pcm->channels, sizeof(pcm->mmap_channels[0])); in snd_pcm_mmap()
281 if (!pcm->mmap_channels) in snd_pcm_mmap()
285 free(pcm->mmap_channels); in snd_pcm_mmap()
286 pcm->mmap_channels = NULL; in snd_pcm_mmap()
290 snd_pcm_channel_info_t *i = &pcm->mmap_channels[c]; in snd_pcm_mmap()
294 free(pcm->mmap_channels); in snd_pcm_mmap()
296 pcm->mmap_channels = NULL; in snd_pcm_mmap()
302 snd_pcm_channel_info_t *i = &pcm->mmap_channels[c]; in snd_pcm_mmap()
315 snd_pcm_channel_info_t *i1 = &pcm->mmap_channels[c1]; in snd_pcm_mmap()
[all …]
Dpcm_generic.c307 pcm->mmap_channels = generic->slave->mmap_channels; in snd_pcm_generic_mmap()
318 pcm->mmap_channels = NULL; in snd_pcm_generic_munmap()
Dpcm_multi.c793 free(pcm->mmap_channels); in snd_pcm_multi_munmap()
795 pcm->mmap_channels = NULL; in snd_pcm_multi_munmap()
805 pcm->mmap_channels = calloc(pcm->channels, in snd_pcm_multi_mmap()
806 sizeof(pcm->mmap_channels[0])); in snd_pcm_multi_mmap()
809 if (!pcm->mmap_channels || !pcm->running_areas) { in snd_pcm_multi_mmap()
823 pcm->mmap_channels[c] = in snd_pcm_multi_mmap()
824 slave->mmap_channels[chan->slave_channel]; in snd_pcm_multi_mmap()
825 pcm->mmap_channels[c].channel = c; in snd_pcm_multi_mmap()
Dpcm_shm.c339 snd_pcm_channel_info_t *i = &pcm->mmap_channels[c]; in snd_pcm_shm_munmap()
347 snd_pcm_channel_info_t *i1 = &pcm->mmap_channels[c1]; in snd_pcm_shm_munmap()
Dpcm_local.h240 snd_pcm_channel_info_t *mmap_channels; member
Dpcm_share.c1129 if (!pcm->mmap_channels) { in _snd_pcm_share_stop()
Dpcm.c774 if (pcm->mmap_channels) in snd_pcm_close()
958 if (pcm->mmap_channels) { in snd_pcm_hw_free()