Home
last modified time | relevance | path

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

/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dpcm.c249 struct snd_pcm_sync_ptr *sync_ptr; member
331 if (pcm->sync_ptr) { in pcm_sync_ptr()
332 pcm->sync_ptr->flags = flags; in pcm_sync_ptr()
333 if (ioctl(pcm->fd, SNDRV_PCM_IOCTL_SYNC_PTR, pcm->sync_ptr) < 0) in pcm_sync_ptr()
341 if (pcm->sync_ptr) in pcm_hw_mmap_status()
370 pcm->sync_ptr = calloc(1, sizeof(*pcm->sync_ptr)); in pcm_hw_mmap_status()
371 if (!pcm->sync_ptr) in pcm_hw_mmap_status()
373 pcm->mmap_status = &pcm->sync_ptr->s.status; in pcm_hw_mmap_status()
374 pcm->mmap_control = &pcm->sync_ptr->c.control; in pcm_hw_mmap_status()
386 if (pcm->sync_ptr) { in pcm_hw_munmap_status()
[all …]