Lines Matching defs:audio

59         bool audio,
63 msg->setInt32("audio", static_cast<int32_t>(audio));
69 void NuPlayer::Renderer::queueEOS(bool audio, status_t finalResult) {
73 msg->setInt32("audio", static_cast<int32_t>(audio));
78 void NuPlayer::Renderer::flush(bool audio) {
81 if (audio) {
91 msg->setInt32("audio", static_cast<int32_t>(audio));
131 // This is how long the audio sink will have data to
232 ALOGI("audio sink underrun");
234 ALOGV("audio queue has %d frames left to play",
248 notifyEOS(true /* audio */, entry->mFinalResult);
259 ALOGV("rendering audio at media time %.2f secs", mediaTimeUs / 1E6);
360 notifyEOS(false /* audio */, entry->mFinalResult);
405 void NuPlayer::Renderer::notifyEOS(bool audio, status_t finalResult) {
408 notify->setInt32("audio", static_cast<int32_t>(audio));
414 int32_t audio;
415 CHECK(msg->findInt32("audio", &audio));
417 if (audio) {
423 if (dropBufferWhileFlushing(audio, msg)) {
439 if (audio) {
473 // Drop some audio.
500 int32_t audio;
501 CHECK(msg->findInt32("audio", &audio));
503 if (dropBufferWhileFlushing(audio, msg)) {
514 if (audio) {
524 int32_t audio;
525 CHECK(msg->findInt32("audio", &audio));
527 // If we're currently syncing the queues, i.e. dropping audio while
528 // aligning the first audio/video buffer times and only one of the
537 if (audio) {
555 notifyFlushComplete(audio);
571 void NuPlayer::Renderer::notifyFlushComplete(bool audio) {
574 notify->setInt32("audio", static_cast<int32_t>(audio));
579 bool audio, const sp<AMessage> &msg) {
584 if (audio) {
647 ALOGV("now paused audio queue has %d entries, video has %d entries",