Lines Matching refs:mAudioQueue
171 flushQueue(&mAudioQueue); in ~Renderer()
547 || mAudioQueue.empty()) { in onMessageReceived()
557 mAudioQueue.push_back(entry); in onMessageReceived()
791 if (mAudioQueue.empty()) { in postDrainAudioQueue_l()
887 while (sizeCopied < size && !mAudioQueue.empty()) { in fillAudioBuffer()
888 entry = &*mAudioQueue.begin(); in fillAudioBuffer()
892 mAudioQueue.erase(mAudioQueue.begin()); in fillAudioBuffer()
917 mAudioQueue.erase(mAudioQueue.begin()); in fillAudioBuffer()
959 List<QueueEntry>::iterator it = mAudioQueue.begin(), itEOS = it; in drainAudioQueueUntilLastEOS()
961 while (it != mAudioQueue.end()) { in drainAudioQueueUntilLastEOS()
973 for (it = mAudioQueue.begin(); it != itEOS; it++) { in drainAudioQueueUntilLastEOS()
986 mAudioQueue.erase(mAudioQueue.begin(), itEOS); in drainAudioQueueUntilLastEOS()
1030 while (!mAudioQueue.empty()) { in onDrainAudioQueue()
1031 QueueEntry *entry = &*mAudioQueue.begin(); in onDrainAudioQueue()
1037 mAudioQueue.erase(mAudioQueue.begin()); in onDrainAudioQueue()
1056 mAudioQueue.erase(mAudioQueue.begin()); in onDrainAudioQueue()
1107 mAudioQueue.erase(mAudioQueue.begin()); in onDrainAudioQueue()
1153 bool reschedule = !mAudioQueue.empty() in onDrainAudioQueue()
1501 mAudioQueue.push_back(entry); in onQueueBuffer()
1509 if (!mSyncQueues || mAudioQueue.empty() || mVideoQueue.empty()) { in onQueueBuffer()
1513 sp<MediaCodecBuffer> firstAudioBuffer = (*mAudioQueue.begin()).mBuffer; in onQueueBuffer()
1537 (*mAudioQueue.begin()).mNotifyConsumed->post(); in onQueueBuffer()
1538 mAudioQueue.erase(mAudioQueue.begin()); in onQueueBuffer()
1552 if (!mAudioQueue.empty()) { in syncQueuesDone_l()
1580 if (mAudioQueue.empty() && mSyncQueues) { in onQueueEOS()
1583 mAudioQueue.push_back(entry); in onQueueEOS()
1634 flushQueue(&mAudioQueue); in onFlush()
1781 mAudioQueue.size(), mVideoQueue.size()); in onPause()
1813 if (!mAudioQueue.empty()) { in onResume()