Lines Matching refs:samples
332 int samples = bytes >> 1;
344 if (processed_pending > (samples - processed)) {
345 processed_pending = (samples - processed);
351 // Shift leftover samples to beginning of the buffer
359 if (processed >= samples) {
398 // Shift leftover samples to beginning of input buffer
412 ALOGV("do_while loop: processed=%d, samples=%d\n", processed, samples);
413 } while (mHandle->handle && processed < samples);