Home
last modified time | relevance | path

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

12

/hardware/qcom/display/msm8226/liboverlay/
Doverlay.h263 int avail = 0; in availablePipes() local
273 avail++; in availablePipes()
276 return avail; in availablePipes()
280 int avail = 0; in availablePipes() local
288 avail++; in availablePipes()
291 return avail; in availablePipes()
295 int avail = 0; in availablePipes() local
301 avail++; in availablePipes()
304 return avail; in availablePipes()
/hardware/qcom/display/msm8994/liboverlay/
Doverlay.h282 int avail = 0; in availablePipes() local
292 avail++; in availablePipes()
295 return avail; in availablePipes()
299 int avail = 0; in availablePipes() local
307 avail++; in availablePipes()
310 return avail; in availablePipes()
314 int avail = 0; in availablePipes() local
320 avail++; in availablePipes()
323 return avail; in availablePipes()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioUsbALSA.cpp387 unsigned avail, bufsize; in RecordingThreadEntry() local
481 avail = pcm_avail(musbRecordingHandle); in RecordingThreadEntry()
482 if (avail < musbRecordingHandle->sw_p->avail_min) { in RecordingThreadEntry()
492 if (x.frames > avail) in RecordingThreadEntry()
493 frames = avail; in RecordingThreadEntry()
517 avail = pcm_avail(mproxyRecordingHandle); in RecordingThreadEntry()
518 if (avail < mproxyRecordingHandle->sw_p->avail_min) { in RecordingThreadEntry()
776 unsigned avail, xfer, bufsize; in PlaybackThreadEntry() local
896 avail = pcm_avail(mproxyPlaybackHandle); in PlaybackThreadEntry()
898 if (avail < mproxyPlaybackHandle->sw_p->avail_min && !mkillPlayBackThread) { in PlaybackThreadEntry()
[all …]
/hardware/qcom/display/msm8960/liboverlay/
Doverlay.h161 int avail = 0; in availablePipes() local
165 avail++; in availablePipes()
168 return avail; in availablePipes()
/hardware/qcom/audio/legacy/libalsa-intf/
Darec.c181 int r, avail; in record_file() local
298 avail = pcm_avail(pcm); in record_file()
300 fprintf(stderr, "Arec:avail 1 = %d frames = %ld\n",avail, frames); in record_file()
301 if (avail < 0) in record_file()
302 return avail; in record_file()
303 if (avail < pcm->sw_p->avail_min) { in record_file()
307 if (x.frames > avail) in record_file()
308 frames = avail; in record_file()
Dalsa_pcm.c403 long avail = sync_ptr->s.status.hw_ptr - sync_ptr->c.control.appl_ptr; in pcm_avail() local
404 if (avail < 0) in pcm_avail()
405 avail += pcm->sw_p->boundary; in pcm_avail()
406 return avail; in pcm_avail()
408 …long avail = sync_ptr->s.status.hw_ptr - sync_ptr->c.control.appl_ptr + ((pcm->flags & PCM_MONO) ?… in pcm_avail() local
409 if (avail < 0) in pcm_avail()
410 avail += pcm->sw_p->boundary; in pcm_avail()
411 else if ((unsigned long) avail >= pcm->sw_p->boundary) in pcm_avail()
412 avail -= pcm->sw_p->boundary; in pcm_avail()
413 return avail; in pcm_avail()
Daplay.c172 long avail; in play_file() local
306 avail = pcm_avail(pcm); in play_file()
307 if (avail < 0) { in play_file()
310 return avail; in play_file()
312 if (avail < pcm->sw_p->avail_min) { in play_file()
325 fprintf(stderr, "Aplay:avail = %d frames = %d\n",avail, frames); in play_file()
/hardware/qcom/audio/hal/audio_extn/
Dsndmonitor.c107 off_t avail = buf.st_size - pos; in read_state() local
108 if (avail <= 0) { in read_state()
109 ALOGD("avail %ld", avail); in read_state()
113 char * state = (char *)calloc(avail+1, sizeof(char)); in read_state()
117 ssize_t bytes=read(fd, state, avail); in read_state()
/hardware/qcom/msm8994/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
Dasound.h410 snd_pcm_uframes_t avail; /* number of frames available */ member
593 size_t avail; /* available bytes */ member
/hardware/qcom/msm8x26/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
Dasound.h409 snd_pcm_uframes_t avail; /* number of frames available */ member
592 size_t avail; /* available bytes */ member
/hardware/qcom/msm8x26/kernel-headers/sound/
Dcompress_offload.h49 __u64 avail; member
Dasound.h399 snd_pcm_uframes_t avail; member
590 size_t avail; member
/hardware/qcom/msm8x84/kernel-headers/sound/
Dcompress_offload.h49 __u64 avail; member
Dasound.h399 snd_pcm_uframes_t avail; member
590 size_t avail; member
/hardware/qcom/msm8994/kernel-headers/sound/
Dcompress_offload.h49 __u64 avail; member
/hardware/qcom/msm8x84/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
/hardware/qcom/msm8x09/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
/hardware/qcom/msm8996/kernel-headers/sound/
Dcompress_offload.h49 __u64 avail; member
/hardware/qcom/msm8996/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
/hardware/qcom/msm8x09/kernel-headers/sound/
Dcompress_offload.h49 __u64 avail; member
Dasound.h404 snd_pcm_uframes_t avail; member
596 size_t avail; member
/hardware/qcom/msm8998/original-kernel-headers/sound/
Dcompress_offload.h82 __u64 avail; member
/hardware/qcom/msm8998/kernel-headers/sound/
Dcompress_offload.h49 __u64 avail; member

12