Searched refs:avail (Results 1 – 3 of 3) sorted by relevance
/system/media/alsa_utils/ |
D | alsa_device_proxy.c | 215 unsigned int avail; in proxy_get_presentation_position() local 217 && pcm_get_htimestamp(proxy->pcm, &avail, timestamp) == 0) { in proxy_get_presentation_position() 220 if (avail > kernel_buffer_size) { in proxy_get_presentation_position() 221 ALOGE("available frames(%u) > buffer size(%zu)", avail, kernel_buffer_size); in proxy_get_presentation_position() 223 int64_t signed_frames = proxy->transferred - kernel_buffer_size + avail; in proxy_get_presentation_position() 240 unsigned int avail; in proxy_get_capture_position() local 244 && pcm_get_htimestamp(proxy->pcm, &avail, ×tamp) == 0) { in proxy_get_capture_position() 247 if (avail > kernel_buffer_size) { in proxy_get_capture_position() 248 ALOGE("available frames(%u) > buffer size(%zu)", avail, kernel_buffer_size); in proxy_get_capture_position() 250 *frames = proxy->transferred + avail; in proxy_get_capture_position()
|
/system/extras/sound/ |
D | playwav.c | 126 static unsigned avail; variable 130 if (sz > avail) in fill_buffer() 134 avail -= sz; in fill_buffer() 150 avail = count; in play_file()
|
/system/libhwbinder/ |
D | Parcel.cpp | 1116 const size_t avail = mDataSize-mDataPos; in readCString() local 1119 const char* eos = reinterpret_cast<const char*>(memchr(str, 0, avail)); in readCString()
|