HomeSort by relevance Sort by last modified time
    Searched defs:sync_ptr (Results 1 - 3 of 3) sorted by null

  /external/tinyalsa/
pcm.c 169 struct snd_pcm_sync_ptr *sync_ptr; member in struct:pcm
241 if (pcm->sync_ptr) {
242 pcm->sync_ptr->flags = flags;
243 if (ioctl(pcm->fd, SNDRV_PCM_IOCTL_SYNC_PTR, pcm->sync_ptr) < 0)
251 if (pcm->sync_ptr)
280 pcm->sync_ptr = calloc(1, sizeof(*pcm->sync_ptr));
281 if (!pcm->sync_ptr)
283 pcm->mmap_status = &pcm->sync_ptr->s.status;
284 pcm->mmap_control = &pcm->sync_ptr->c.control
    [all...]
  /hardware/qcom/audio/legacy/libalsa-intf/
alsa_audio.h 39 struct snd_pcm_sync_ptr *sync_ptr; member in struct:pcm
142 int sync_ptr(struct pcm *pcm);
alsa_pcm.c 399 struct snd_pcm_sync_ptr *sync_ptr = pcm->sync_ptr; local
402 sync_ptr->s.status.hw_ptr,
404 sync_ptr->c.control.appl_ptr);
407 long avail = sync_ptr->s.status.hw_ptr - sync_ptr->c.control.appl_ptr;
412 long avail = sync_ptr->s.status.hw_ptr - sync_ptr->c.control.appl_ptr + ((pcm->flags & PCM_MONO) ? pcm->buffer_size/2 : pcm->buffer_size/4);
421 int sync_ptr(struct pcm *pcm) function
424 err = ioctl(pcm->fd, SNDRV_PCM_IOCTL_SYNC_PTR, pcm->sync_ptr);
462 struct snd_pcm_sync_ptr *sync_ptr = pcm->sync_ptr; local
474 struct snd_pcm_sync_ptr *sync_ptr = pcm->sync_ptr; local
495 struct snd_pcm_sync_ptr *sync_ptr = pcm->sync_ptr; local
    [all...]

Completed in 371 milliseconds