Lines Matching refs:frames_wr

1547     ssize_t frames_wr = 0;  in read_and_process_frames()  local
1582 while (frames_wr < frames) { in read_and_process_frames()
1605 frames_wr = frames_rd; in read_and_process_frames()
1619 out_buf.frameCount = frames - frames_wr; in read_and_process_frames()
1620 out_buf.s16 = (int16_t *)proc_buf_out + frames_wr * in->config.channels; in read_and_process_frames()
1650 if ((frames_wr + (ssize_t)out_buf.frameCount) <= frames) { in read_and_process_frames()
1651 frames_wr += out_buf.frameCount; in read_and_process_frames()
1655 (unsigned int)frames_wr, out_buf.frameCount, (unsigned int)frames); in read_and_process_frames()
1656 frames_wr = frames; in read_and_process_frames()
1675 frames_wr = read_frames(in, proc_buf_out, frames); in read_and_process_frames()
1690 for (i = frames_wr; i > 0; i--) in read_and_process_frames()
1696 for (i = frames_wr; i > 0; i--) in read_and_process_frames()
1705 return frames_wr; in read_and_process_frames()
1826 ssize_t frames_wr = 0; in read_frames() local
1838 while (frames_wr < frames) { in read_frames()
1839 size_t frames_rd = frames - frames_wr; in read_frames()
1841 __func__,frames_rd,frames_wr,in->config.channels); in read_frames()
1845 pcm_frames_to_bytes(pcm_device->pcm, frames_wr)), in read_frames()
1855 pcm_frames_to_bytes(pcm_device->pcm, frames_wr), in read_frames()
1867 frames_wr += frames_rd; in read_frames()
1869 return frames_wr; in read_frames()
2927 size_t frames_wr = 0, frames_rq = 0; in out_write() local
3047 frames_wr = pcm_device->res_byte_count / frame_size; in out_write()
3051 (int16_t *)buffer, &frames_rq, (int16_t *)pcm_device->res_buffer, &frames_wr); in out_write()
3052 ALOGVV("%s: resampler output frames_= %d", __func__, frames_wr); in out_write()
3138 frames_wr * frame_size); in out_write()