Searched defs:remaining_frames (Results 1 - 1 of 1) sorted by relevance

/hardware/libhardware/modules/audio_remote_submix/
H A Daudio_hw.cpp432 size_t remaining_frames = frames_to_read; local
435 while ((remaining_frames > 0) && (attempts < MAX_READ_ATTEMPTS)) {
437 frames_read = source->read(buff, remaining_frames, AudioBufferProvider::kInvalidPTS);
439 remaining_frames -= frames_read;
442 // attempts, frames_read, remaining_frames);
456 if (remaining_frames > 0) {
457 ALOGV(" remaining_frames = %d", remaining_frames);
458 memset(((char*)buffer)+ bytes - (remaining_frames * frame_size), 0,
459 remaining_frames * frame_siz
[all...]

Completed in 27 milliseconds