/cts/tests/tests/media/libaudiojni/ |
appendix-b-1-1-buffer-queue.cpp | 98 CallbackCntxt cntxt; local 163 cntxt.pDataBase = pcmData; 164 cntxt.pData = cntxt.pDataBase; 165 cntxt.size = sizeof(pcmData) / sizeof(pcmData[0]); // ANDROID: Bug 191 BufferQueueCallback, &cntxt /* BUG, was NULL */); 201 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, 204 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; 205 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, 208 cntxt.pData += AUDIO_DATA_BUFFER_SIZE [all...] |
/frameworks/wilhelm/tests/examples/ |
slesTestSawtoothBufferQueue.cpp | 132 CallbackCntxt cntxt; local 190 cntxt.pDataBase = /*(void*)&*/pcmData; 191 cntxt.pData = cntxt.pDataBase; 192 cntxt.size = sizeof(pcmData) / 2; 218 BufferQueueCallback, &cntxt); CheckErr(res); 226 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, 229 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; 231 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, 234 cntxt.pData += AUDIO_DATA_BUFFER_SIZE [all...] |
slesTestDecodeToBuffQueue.cpp | 401 CallbackCntxt cntxt; local 402 cntxt.playItf = playItf; 403 cntxt.metaItf = mdExtrItf; 404 cntxt.pDataBase = (int8_t*)&pcmData; 405 cntxt.pData = cntxt.pDataBase; 406 cntxt.size = sizeof(pcmData); 407 result = (*decBuffQueueItf)->RegisterCallback(decBuffQueueItf, DecPlayCallback, &cntxt); 414 result = (*decBuffQueueItf)->Enqueue(decBuffQueueItf, cntxt.pData, BUFFER_SIZE_IN_BYTES); 416 cntxt.pData += BUFFER_SIZE_IN_BYTES [all...] |
slesTestRecBuffQueue.cpp | 441 CallbackCntxt cntxt; local 442 cntxt.pDataBase = (int8_t*)&pcmData; 443 cntxt.pData = cntxt.pDataBase; 444 cntxt.size = sizeof(pcmData); 445 result = (*recBuffQueueItf)->RegisterCallback(recBuffQueueItf, RecBufferQueueCallback, &cntxt); 452 result = (*recBuffQueueItf)->Enqueue(recBuffQueueItf, cntxt.pData, BUFFER_SIZE_IN_BYTES); 454 cntxt.pData += BUFFER_SIZE_IN_BYTES; 457 cntxt.pData = cntxt.pDataBase [all...] |
/frameworks/base/services/core/java/com/android/server/audio/ |
MediaFocusControl.java | 90 protected MediaFocusControl(Context cntxt, PlayerFocusEnforcer pfe) { 91 mContext = cntxt; [all...] |
/system/bt/btif/src/ |
btif_rc.cc | [all...] |