Searched refs:avail (Results 1 – 17 of 17) sorted by relevance
444 int pcm_get_htimestamp(struct pcm *pcm, unsigned int *avail, in pcm_get_htimestamp() argument477 *avail = (unsigned int)frames; in pcm_get_htimestamp()1048 int avail; in pcm_mmap_playback_avail() local1050 avail = pcm->mmap_status->hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr; in pcm_mmap_playback_avail()1052 if (avail < 0) in pcm_mmap_playback_avail()1053 avail += pcm->boundary; in pcm_mmap_playback_avail()1054 else if (avail > (int)pcm->boundary) in pcm_mmap_playback_avail()1055 avail -= pcm->boundary; in pcm_mmap_playback_avail()1057 return avail; in pcm_mmap_playback_avail()1062 int avail = pcm->mmap_status->hw_ptr - pcm->mmap_control->appl_ptr; in pcm_mmap_capture_avail() local[all …]
217 int pcm_get_htimestamp(struct pcm *pcm, unsigned int *avail,
34 const size_t avail = size - offset; in handleRequest() local44 if (packetOffset + 1 >= avail) { in handleRequest()51 if (packetOffset + 7 >= avail) { in handleRequest()61 if (packetOffset + 3 >= avail) { in handleRequest()69 if (packetOffset + payloadLen > avail) { in handleRequest()
82 __u64 avail; member
451 snd_pcm_uframes_t avail; /* number of frames available */ member638 size_t avail; /* available bytes */ member
43 __u64 avail; member
351 snd_pcm_uframes_t avail; member508 size_t avail; member
356 snd_pcm_uframes_t avail; member514 size_t avail; member
84 __u64 avail; member
459 snd_pcm_uframes_t avail; /* number of frames available */ member647 size_t avail; /* available bytes */ member
297 unsigned int avail; in out_get_presentation_position() local298 if (pcm_get_htimestamp(out->pcm, &avail, timestamp) == 0) { in out_get_presentation_position()300 int64_t signed_frames = out->written - kernel_buffer_size + avail; in out_get_presentation_position()
481 unsigned int avail; in out_get_presentation_position() local482 if (pcm_get_htimestamp(out->pcm, &avail, timestamp) == 0) { in out_get_presentation_position()484 int64_t signed_frames = out->written - kernel_buffer_size + avail; in out_get_presentation_position()