Lines Matching defs:buffer
50 #Use deep buffer for PCM data with video (it is generally enabled for audio-only)
136 const sp<ABuffer> &buffer,
141 msg->setBuffer("buffer", buffer);
659 void *buffer,
668 return me->fillAudioBuffer(buffer, size);
690 size_t NuPlayer::Renderer::fillAudioBuffer(void *buffer, size_t size) {
725 memcpy((char *)buffer + sizeCopied,
807 // has received INFO_FORMAT_CHANGED as the first buffer since
861 // ignore 0-sized buffer which could be EOS marker with no data
908 // 2) The data to be copied exceeds the available buffer in AudioSink.
909 // 3) An error occurs and data has been partially copied to the buffer in AudioSink.
1032 // discontinuity. If we have not drained an audio buffer that was
1033 // received after this buffer, repost in 10 msec. Otherwise repost
1180 sp<ABuffer> buffer;
1181 CHECK(msg->findBuffer("buffer", &buffer));
1187 entry.mBuffer = buffer;
1304 // aligning the first audio/video buffer times and only one of the
1340 // internal buffer before resuming playback.
1446 // we do not increment audio drain generation so that we fill audio buffer during pause.
1525 // accessing getTimestamp() or getPosition() every time a data buffer with
1762 // Compute the desired buffer size.
1763 // For callback mode, the amount of time before wakeup is about half the buffer size.