Searched refs:sync_ptr (Results 1 – 1 of 1) sorted by relevance
156 struct snd_pcm_sync_ptr *sync_ptr; member223 if (pcm->sync_ptr) { in pcm_sync_ptr()224 pcm->sync_ptr->flags = flags; in pcm_sync_ptr()225 if (ioctl(pcm->fd, SNDRV_PCM_IOCTL_SYNC_PTR, pcm->sync_ptr) < 0) in pcm_sync_ptr()233 if (pcm->sync_ptr) in pcm_hw_mmap_status()262 pcm->sync_ptr = calloc(1, sizeof(*pcm->sync_ptr)); in pcm_hw_mmap_status()263 if (!pcm->sync_ptr) in pcm_hw_mmap_status()265 pcm->mmap_status = &pcm->sync_ptr->s.status; in pcm_hw_mmap_status()266 pcm->mmap_control = &pcm->sync_ptr->c.control; in pcm_hw_mmap_status()278 if (pcm->sync_ptr) { in pcm_hw_munmap_status()[all …]