Lines Matching refs:mAudioQueue
179 flushQueue(&mAudioQueue); in ~Renderer()
594 || mAudioQueue.empty()) { in onMessageReceived()
604 mAudioQueue.push_back(entry); in onMessageReceived()
865 if (mAudioQueue.empty()) { in postDrainAudioQueue_l()
961 while (sizeCopied < size && !mAudioQueue.empty()) { in fillAudioBuffer()
962 entry = &*mAudioQueue.begin(); in fillAudioBuffer()
966 mAudioQueue.erase(mAudioQueue.begin()); in fillAudioBuffer()
996 mAudioQueue.erase(mAudioQueue.begin()); in fillAudioBuffer()
1038 List<QueueEntry>::iterator it = mAudioQueue.begin(), itEOS = it; in drainAudioQueueUntilLastEOS()
1040 while (it != mAudioQueue.end()) { in drainAudioQueueUntilLastEOS()
1052 for (it = mAudioQueue.begin(); it != itEOS; it++) { in drainAudioQueueUntilLastEOS()
1065 mAudioQueue.erase(mAudioQueue.begin(), itEOS); in drainAudioQueueUntilLastEOS()
1109 while (!mAudioQueue.empty()) { in onDrainAudioQueue()
1110 QueueEntry *entry = &*mAudioQueue.begin(); in onDrainAudioQueue()
1116 mAudioQueue.erase(mAudioQueue.begin()); in onDrainAudioQueue()
1135 mAudioQueue.erase(mAudioQueue.begin()); in onDrainAudioQueue()
1186 mAudioQueue.erase(mAudioQueue.begin()); in onDrainAudioQueue()
1232 bool reschedule = !mAudioQueue.empty() in onDrainAudioQueue()
1587 mAudioQueue.push_back(entry); in onQueueBuffer()
1595 if (!mSyncQueues || mAudioQueue.empty() || mVideoQueue.empty()) { in onQueueBuffer()
1599 sp<MediaCodecBuffer> firstAudioBuffer = (*mAudioQueue.begin()).mBuffer; in onQueueBuffer()
1623 (*mAudioQueue.begin()).mNotifyConsumed->post(); in onQueueBuffer()
1624 mAudioQueue.erase(mAudioQueue.begin()); in onQueueBuffer()
1638 if (!mAudioQueue.empty()) { in syncQueuesDone_l()
1666 if (mAudioQueue.empty() && mSyncQueues) { in onQueueEOS()
1669 mAudioQueue.push_back(entry); in onQueueEOS()
1731 flushQueue(&mAudioQueue); in onFlush()
1873 mAudioQueue.size(), mVideoQueue.size()); in onPause()
1905 if (!mAudioQueue.empty()) { in onResume()