Home
last modified time | relevance | path

Searched refs:playerBufferQueue (Results 1 – 6 of 6) sorted by relevance

/frameworks/wilhelm/tests/automated/
DBufferQueue_test.cpp83 SLBufferQueueItf playerBufferQueue; member in TestBufferQueue
203 res = (*playerObject)->GetInterface(playerObject, SL_IID_BUFFERQUEUE, &playerBufferQueue); in PrepareValidBuffer()
207 res = (*playerBufferQueue)->GetState(playerBufferQueue, &bufferqueueState); in PrepareValidBuffer()
217 res = (*playerBufferQueue)->Enqueue(playerBufferQueue, "test", 4); in EnqueueMaxBuffer()
220 res = (*playerBufferQueue)->GetState(playerBufferQueue, &bufferqueueState); in EnqueueMaxBuffer()
229 res = (*playerBufferQueue)->Enqueue(playerBufferQueue, "test", 4); in EnqueueExtraBuffer()
232 res = (*playerBufferQueue)->GetState(playerBufferQueue, &bufferqueueState); in EnqueueExtraBuffer()
253 res = (*playerBufferQueue)->Clear(playerBufferQueue); in ClearQueue()
256 res = (*playerBufferQueue)->GetState(playerBufferQueue, &bufferqueueState); in ClearQueue()
264 res = (*playerBufferQueue)->GetState(playerBufferQueue, &bufferqueueState); in CheckBufferCount()
[all …]
/frameworks/base/media/tests/NativeMidiDemo/jni/
Dnativemidi-jni.cpp60 static SLAndroidSimpleBufferQueueItf playerBufferQueue; variable
169 result = (*playerObject)->GetInterface(playerObject, SL_IID_BUFFERQUEUE, &playerBufferQueue); in Java_com_example_android_nativemididemo_NativeMidi_initAudio()
172 result = (*playerBufferQueue)->RegisterCallback(playerBufferQueue, bqPlayerCallback, NULL); in Java_com_example_android_nativemididemo_NativeMidi_initAudio()
175 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, playBuffer, sizeof(playBuffer)); in Java_com_example_android_nativemididemo_NativeMidi_initAudio()
201 if (playerBufferQueue != NULL && playerPlay != NULL) { in Java_com_example_android_nativemididemo_NativeMidi_resumeAudio()
202 (*playerBufferQueue)->Enqueue(playerBufferQueue, playBuffer, sizeof(playBuffer)); in Java_com_example_android_nativemididemo_NativeMidi_resumeAudio()
213 playerBufferQueue = NULL; in Java_com_example_android_nativemididemo_NativeMidi_shutdownAudio()
/frameworks/wilhelm/tests/sandbox/
Dconfigbq.c182 SLBufferQueueItf playerBufferQueue; in main() local
184 &playerBufferQueue); in main()
186 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, buffer, i); in main()
201 result = (*playerBufferQueue)->GetState(playerBufferQueue, &state); in main()
Dplaybq.cpp492 SLBufferQueueItf playerBufferQueue; in main() local
494 &playerBufferQueue); in main()
528 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, buffer, nbytes); in main()
536 result = (*playerBufferQueue)->RegisterCallback(playerBufferQueue, callback, NULL); in main()
566 result = (*playerBufferQueue)->GetState(playerBufferQueue, &bufqstate); in main()
Durimime.c110 SLBufferQueueItf playerBufferQueue; in main() local
111 result = (*playerObject)->GetInterface(playerObject, SL_IID_BUFFERQUEUE, &playerBufferQueue); in main()
113 assert(NULL == playerBufferQueue); in main()
/frameworks/wilhelm/tests/examples/
DslesTestFeedback.cpp60 static SLBufferQueueItf playerBufferQueue; variable
124 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, buffer, bufSizeInBytes); in recorderCallback()
205 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, buffer, bufSizeInBytes); in playerCallback()
453 result = (*playerObject)->GetInterface(playerObject, SL_IID_BUFFERQUEUE, &playerBufferQueue); in main()
455 result = (*playerBufferQueue)->RegisterCallback(playerBufferQueue, playerCallback, NULL); in main()
476 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, in main()
582 result = (*playerBufferQueue)->GetState(playerBufferQueue, &playerBQState); in main()