Searched refs:NB_BUFFERS (Results 1 – 3 of 3) sorted by relevance
/frameworks/wilhelm/tests/sandbox/streamSource/ |
D | slesTestPlayStream.cpp | 36 #define NB_BUFFERS 16 macro 42 char dataCache[BUFFER_SIZE * NB_BUFFERS]; 108 size_t nbRead = fread((void*)dataCache, 1, BUFFER_SIZE*(NB_BUFFERS/2), file); in AndroidBufferQueueCallback() 109 if (nbRead == BUFFER_SIZE*(NB_BUFFERS/2)) { in AndroidBufferQueueCallback() 110 for (int i=0 ; i < NB_BUFFERS/2 ; i++) { in AndroidBufferQueueCallback() 232 streamLocator.numBuffers = NB_BUFFERS; in TestPlayStream() 294 if (fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file) <= 0) { in TestPlayStream() 300 for (int i=0 ; i < NB_BUFFERS ; i++) { in TestPlayStream()
|
/frameworks/wilhelm/tests/native-media/jni/ |
D | native-media-jni.c | 51 #define NB_BUFFERS 16 macro 64 char dataCache[BUFFER_SIZE * NB_BUFFERS]; 144 &dataCache[BUFFER_SIZE * NB_BUFFERS]); in AndroidBufferQueueCallback() 301 nbRead = fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file); in enqueueInitialBuffers() 307 assert(1 <= nbRead && nbRead <= NB_BUFFERS); in enqueueInitialBuffers() 357 XADataLocator_AndroidBufferQueue loc_abq = { XA_DATALOCATOR_ANDROIDBUFFERQUEUE, NB_BUFFERS }; in Java_com_example_nativemedia_NativeMedia_createStreamingMediaPlayer()
|
/frameworks/wilhelm/tests/sandbox/ |
D | xaplay.c | 35 #define NB_BUFFERS 2 // Number of buffers in Android buffer queue macro 408 locABQ.numBuffers = NB_BUFFERS; in main()
|