HomeSort by relevance Sort by last modified time
    Searched full:mbufferqueue (Results 1 - 16 of 16) sorted by null

  /frameworks/base/media/libstagefright/httplive/
LiveDataSource.cpp 54 return mBufferQueue.size();
67 for (List<sp<ABuffer> >::iterator it = mBufferQueue.begin();
68 it != mBufferQueue.end(); ++it) {
99 while (mBufferQueue.empty() && mFinalResult == OK) {
103 if (mBufferQueue.empty()) {
112 sp<ABuffer> buffer = *mBufferQueue.begin();
127 mBufferQueue.erase(mBufferQueue.begin());
150 mBufferQueue.push_back(buffer);
170 mBufferQueue.clear()
    [all...]
LiveDataSource.h 52 List<sp<ABuffer> > mBufferQueue;
  /system/media/wilhelm/src/itf/
IOutputMixExt.c 70 if (audioPlayer->mBufferQueue.mClearRequested) {
73 audioPlayer->mBufferQueue.mFront = &audioPlayer->mBufferQueue.mArray[0];
74 audioPlayer->mBufferQueue.mRear = &audioPlayer->mBufferQueue.mArray[0];
75 audioPlayer->mBufferQueue.mState.count = 0;
76 audioPlayer->mBufferQueue.mState.playIndex = 0;
77 audioPlayer->mBufferQueue.mClearRequested = SL_BOOLEAN_FALSE;
108 oldFront = audioPlayer->mBufferQueue.mFront;
109 if (oldFront != audioPlayer->mBufferQueue.mRear)
    [all...]
IEngine.c 26 if (BUFFER_HEADER_TYPICAL >= ap->mBufferQueue.mNumBuffers) {
27 ap->mBufferQueue.mArray = ap->mBufferQueue.mTypical;
32 if (ap->mBufferQueue.mNumBuffers >= 256) {
35 ap->mBufferQueue.mArray = (BufferHeader *)
36 malloc((ap->mBufferQueue.mNumBuffers + 1) * sizeof(BufferHeader));
37 if (NULL == ap->mBufferQueue.mArray) {
41 ap->mBufferQueue.mFront = ap->mBufferQueue.mArray;
42 ap->mBufferQueue.mRear = ap->mBufferQueue.mArray
    [all...]
IPlay.c 59 if ((NULL != audioPlayer) && (audioPlayer->mBufferQueue.mFront !=
60 audioPlayer->mBufferQueue.mRear)) {
  /system/media/wilhelm/src/android/
AudioRecorder_to_android.cpp 223 interface_lock_exclusive(&ar->mBufferQueue);
225 if (ar->mBufferQueue.mState.count != 0) {
226 assert(ar->mBufferQueue.mFront != ar->mBufferQueue.mRear);
228 BufferHeader *oldFront = ar->mBufferQueue.mFront;
232 short *pDest = (short*)((char *)oldFront->mBuffer + ar->mBufferQueue.mSizeConsumed);
233 if (ar->mBufferQueue.mSizeConsumed + pBuff->size < oldFront->mSize) {
235 ar->mBufferQueue.mSizeConsumed += pBuff->size;
245 pBuff->size = oldFront->mSize - ar->mBufferQueue.mSizeConsumed;
246 ar->mBufferQueue.mSizeConsumed = 0
    [all...]
AudioPlayer_to_android.cpp 113 if (ap->mBufferQueue.mState.count != 0) {
114 assert(ap->mBufferQueue.mFront != ap->mBufferQueue.mRear);
116 BufferHeader *oldFront = ap->mBufferQueue.mFront;
119 uint8_t *pDest = (uint8_t *)oldFront->mBuffer + ap->mBufferQueue.mSizeConsumed;
120 if (ap->mBufferQueue.mSizeConsumed + size < oldFront->mSize) {
122 ap->mBufferQueue.mSizeConsumed += size;
128 sizeConsumed = oldFront->mSize - ap->mBufferQueue.mSizeConsumed;
131 ap->mBufferQueue.mSizeConsumed = 0;
132 if (newFront == &ap->mBufferQueue.mArray[ap->mBufferQueue.mNumBuffers + 1])
    [all...]
  /frameworks/base/cmds/stagefright/
stream.cpp 146 List<size_t> mBufferQueue;
209 while (mBufferQueue.empty()) {
213 mCurrentBufferIndex = *mBufferQueue.begin();
216 mBufferQueue.erase(mBufferQueue.begin());
246 mBufferQueue.push_back(index);
  /system/media/wilhelm/src/desktop/
OutputMixExt.h 38 struct BufferQueue_interface *mBufferQueue;
SndFile.c 171 thiz->mBufferQueue.mNumBuffers = SndFile_NUMBUFS;
194 SLboolean empty = 0 == audioPlayer->mBufferQueue.mState.count;
214 IBufferQueue_Clear(&audioPlayer->mBufferQueue.mItf);
229 SndFile_Callback(&audioPlayer->mBufferQueue.mItf, audioPlayer);
256 SLBufferQueueItf bufferQueue = &thiz->mBufferQueue.mItf;
  /system/media/wilhelm/src/
classes.h 41 IBufferQueue mBufferQueue;
139 IBufferQueue mBufferQueue;
242 IBufferQueue mBufferQueue;
data.h 22 SLDataLocator_BufferQueue mBufferQueue;
classes.c 64 {MPH_BUFFERQUEUE, INTERFACE_EXPLICIT, offsetof(CAudioPlayer, mBufferQueue)},
127 {MPH_ANDROIDSIMPLEBUFFERQUEUE, INTERFACE_EXPLICIT, offsetof(CAudioRecorder, mBufferQueue)},
291 {MPH_BUFFERQUEUE, INTERFACE_EXPLICIT_GAME, offsetof(CMidiPlayer, mBufferQueue)},
data.c 53 pDataLocator->mBufferQueue = *(SLDataLocator_BufferQueue *)pLocator;
55 if (!((1 <= pDataLocator->mBufferQueue.numBuffers) &&
56 (pDataLocator->mBufferQueue.numBuffers <= 255))) {
57 SL_LOGE("%s: numBuffers=%u", name, pDataLocator->mBufferQueue.numBuffers);
229 if (!((1 <= pDataLocator->mBufferQueue.numBuffers) &&
230 (pDataLocator->mBufferQueue.numBuffers <= 255))) {
    [all...]
  /frameworks/base/services/audioflinger/
AudioFlinger.h 679 bool bufferQueueEmpty() { return (mBufferQueue.size() == 0) ? true : false; }
691 Vector < Buffer* > mBufferQueue;
    [all...]
AudioFlinger.cpp     [all...]

Completed in 235 milliseconds