Searched defs:newFront (Results 1 - 8 of 8) sorted by relevance

/frameworks/wilhelm/src/android/
H A DBufferQueueSource.cpp78 AdvancedBufferHeader *newFront = &oldFront[1]; local
109 if (newFront == &mAndroidBufferQueueSource->
112 newFront = mAndroidBufferQueueSource->mBufferArray;
114 mAndroidBufferQueueSource->mFront = newFront;
H A DAudioRecorder_to_android.cpp259 BufferHeader *newFront = &oldFront[1]; local
275 if (newFront == &ar->mBufferQueue.mArray[ar->mBufferQueue.mNumBuffers + 1]) {
276 newFront = ar->mBufferQueue.mArray;
278 ar->mBufferQueue.mFront = newFront;
H A Dandroid_StreamPlayer.cpp149 AdvancedBufferHeader *newFront = &oldFront[1]; local
223 if (newFront == &mAndroidBufferQueue->
226 newFront = mAndroidBufferQueue->mBufferArray;
228 mAndroidBufferQueue->mFront = newFront;
H A DAudioPlayer_to_android.cpp122 BufferHeader *newFront = &oldFront[1]; local
137 if (newFront == &ap->mBufferQueue.mArray[ap->mBufferQueue.mNumBuffers + 1]) {
138 newFront = ap->mBufferQueue.mArray;
140 ap->mBufferQueue.mFront = newFront;
1161 BufferHeader *newFront = &oldFront[1]; local
1176 if (newFront ==
1180 newFront = ap->mBufferQueue.mArray;
1182 ap->mBufferQueue.mFront = newFront;
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp251 void MonoPipe::updateFrontAndNRPTS(int32_t newFront, int64_t newNextRdPTS) argument
261 mFront = newFront;
/frameworks/wilhelm/src/
H A DThreadPool.c195 Closure **newFront = oldFront; local
196 if (++newFront == &tp->mClosureArray[tp->mMaxClosures + 1])
197 newFront = tp->mClosureArray;
201 tp->mClosureFront = newFront;
349 Closure **newFront = oldFront; local
350 if (++newFront == &tp->mClosureArray[tp->mMaxClosures + 1]) {
351 newFront = tp->mClosureArray;
356 tp->mClosureFront = newFront;
/frameworks/wilhelm/src/itf/
H A DIOutputMixExt.c275 const BufferHeader *oldFront, *newFront, *rear; local
280 newFront = oldFront;
281 if (++newFront == &bufferQueue->mArray[bufferQueue->mNumBuffers + 1]) {
282 newFront = bufferQueue->mArray;
284 bufferQueue->mFront = (BufferHeader *) newFront;
287 if (newFront != rear) {
291 track->mReader = newFront->mBuffer;
292 track->mAvail = newFront->mSize;
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp621 int32_t newFront = (front & ~mask) | (flush & mask); local
622 ssize_t filled = rear - newFront;
625 // so rebasing newFront on the front offset is off by the overflow bit.
626 // adjust newFront to match rear offset.
628 newFront += overflowBit;
633 ALOGE("mFlush %#x -> %#x, front %#x, rear %#x, mask %#x, newFront %#x, "
636 (unsigned)mask, newFront, filled, (unsigned)filled);
637 newFront = rear;
640 android_atomic_release_store(newFront, &cblk->u.mStreaming.mFront);
642 if (true /*front != newFront*/) {
[all...]

Completed in 98 milliseconds