HomeSort by relevance Sort by last modified time
    Searched refs:bufferQueue (Results 1 - 6 of 6) sorted by null

  /frameworks/wilhelm/src/itf/
IOutputMixExt.c 71 // application thread(s) that call BufferQueue::Clear while mixer is active
273 IBufferQueue *bufferQueue = &track->mAudioPlayer->mBufferQueue;
274 interface_lock_exclusive(bufferQueue);
276 oldFront = bufferQueue->mFront;
277 rear = bufferQueue->mRear;
281 if (++newFront == &bufferQueue->mArray[bufferQueue->mNumBuffers + 1]) {
282 newFront = bufferQueue->mArray;
284 bufferQueue->mFront = (BufferHeader *) newFront;
285 assert(0 < bufferQueue->mState.count)
    [all...]
  /frameworks/base/core/jni/android/graphics/
SurfaceTexture.cpp 46 jfieldID bufferQueue;
69 const sp<BufferQueue>& bq)
71 BufferQueue* const p =
72 (BufferQueue*)env->GetIntField(thiz, fields.bufferQueue);
79 env->SetIntField(thiz, fields.bufferQueue, (int)bq.get());
102 return (BufferQueue*)env->GetIntField(thiz, fields.bufferQueue);
209 fields.bufferQueue = env->GetFieldID(clazz,
211 if (fields.bufferQueue == NULL)
    [all...]
  /frameworks/ex/variablespeed/jni/
variablespeed.h 72 void EnqueueMoreAudioIfNecessary(SLAndroidSimpleBufferQueueItf bufferQueue);
73 bool EnqueueNextBufferOfAudio(SLAndroidSimpleBufferQueueItf bufferQueue);
  /frameworks/wilhelm/tests/examples/
slesTestSawtoothBufferQueue.cpp 115 SLDataLocator_BufferQueue bufferQueue;
165 bufferQueue.locatorType = SL_DATALOCATOR_BUFFERQUEUE;
166 bufferQueue.numBuffers = 4; /* Four buffers in our buffer queue */
178 audioSource.pLocator = (void *)&bufferQueue;
205 fprintf(stdout, "bufferQueue example: after CreateAudioPlayer\n");
209 fprintf(stdout, "bufferQueue example: after Realize\n");
214 fprintf(stdout, "bufferQueue example: after GetInterface(PLAY)\n");
245 fprintf(stdout, "bufferQueue example: starting to play\n");
  /frameworks/native/libs/gui/
ConsumerBase.cpp 54 ConsumerBase::ConsumerBase(const sp<IGraphicBufferConsumer>& bufferQueue, bool controlledByApp) :
56 mConsumer(bufferQueue) {
65 sp<IConsumerListener> proxy = new BufferQueue::ProxyConsumerListener(listener);
69 CB_LOGE("ConsumerBase: error connecting to BufferQueue: %s (%d)",
126 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) {
145 for (int i =0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) {
148 // disconnect from the BufferQueue
177 status_t ConsumerBase::acquireBufferLocked(BufferQueue::BufferItem *item,
246 if (err == BufferQueue::STALE_BUFFER_SLOT) {
257 if (slot < 0 || slot >= BufferQueue::NUM_BUFFER_SLOTS)
    [all...]
  /frameworks/wilhelm/src/desktop/
SndFile.c 256 SLBufferQueueItf bufferQueue = &thiz->mBufferQueue.mItf;
257 IBufferQueue *thisBQ = (IBufferQueue *) bufferQueue;

Completed in 1810 milliseconds