Home
last modified time | relevance | path

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

/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dpcm.c444 int pcm_get_htimestamp(struct pcm *pcm, unsigned int *avail, in pcm_get_htimestamp() argument
477 *avail = (unsigned int)frames; in pcm_get_htimestamp()
1048 int avail; in pcm_mmap_playback_avail() local
1050 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 …]
Dasoundlib.h217 int pcm_get_htimestamp(struct pcm *pcm, unsigned int *avail,
/device/google/cuttlefish/host/frontend/gcastv2/https/
DWebSocketHandler.cpp34 const size_t avail = size - offset; in handleRequest() local
44 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()
/device/google/bonito/sdm710/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
Dasound.h451 snd_pcm_uframes_t avail; /* number of frames available */ member
638 size_t avail; /* available bytes */ member
/device/google/bonito/sdm710/kernel-headers/sound/
Dcompress_offload.h43 __u64 avail; member
Dasound.h351 snd_pcm_uframes_t avail; member
508 size_t avail; member
/device/google/crosshatch/sdm845/kernel-headers/sound/
Dcompress_offload.h43 __u64 avail; member
Dasound.h351 snd_pcm_uframes_t avail; member
508 size_t avail; member
/device/google/crosshatch/sdm845/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
Dasound.h451 snd_pcm_uframes_t avail; /* number of frames available */ member
638 size_t avail; /* available bytes */ member
/device/google/coral-kernel/sm8150/kernel-headers/sound/
Dcompress_offload.h43 __u64 avail; member
Dasound.h356 snd_pcm_uframes_t avail; member
514 size_t avail; member
/device/google/coral-kernel/sm8150/original-kernel-headers/sound/
Dcompress_offload.h84 __u64 avail; member
Dasound.h459 snd_pcm_uframes_t avail; /* number of frames available */ member
647 size_t avail; /* available bytes */ member
/device/linaro/poplar/audio/
Daudio_hw.c297 unsigned int avail; in out_get_presentation_position() local
298 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()
/device/linaro/hikey/audio/
Daudio_hw.c481 unsigned int avail; in out_get_presentation_position() local
482 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()