Lines Matching refs:frames
48 size_t buf_size; // main buffer size in frames
49 size_t frames_in; // number of frames in main buffer
51 size_t wr_buf_size; // size of conversion buffer in frames
52 size_t wr_frames_in; // number of frames in conversion buffer
53 size_t wr_curr_frame_size; // number of frames given to current write() function
148 ALOGV("echo_reference_write() START trying to write %d frames", buffer->frame_count);
153 //ALOGV("echo_reference_write() %d frames", buffer->frame_count);
211 size_t frames = buffer->frame_count;
212 while (frames--) {
238 // to get new frames
245 // inFrames is always more than we need here to get frames remaining from previous runs
246 // inFrames is updated by resample() with the number of frames produced
272 ALOGV("echo_reference_write() frames written:[%d], frames total:[%d] buffer size:[%d]\n"
324 // ALOGV("echo_reference_read() %d frames", buffer->frame_count);
326 // allow some time for new frames to arrive if not enough frames are ready for read
336 "echo_reference_read() waited %d ms but still not enough frames"\
460 ALOGV("echo_reference_read() END %d frames, total frames in %d",