Searched refs:cntxt (Results 1 – 4 of 4) sorted by relevance
/frameworks/wilhelm/tests/examples/ |
D | slesTestSawtoothBufferQueue.cpp | 132 CallbackCntxt cntxt; in TestPlaySawtoothBufferQueue() local 190 cntxt.pDataBase = /*(void*)&*/pcmData; in TestPlaySawtoothBufferQueue() 191 cntxt.pData = cntxt.pDataBase; in TestPlaySawtoothBufferQueue() 192 cntxt.size = sizeof(pcmData) / 2; in TestPlaySawtoothBufferQueue() 218 BufferQueueCallback, &cntxt); CheckErr(res); in TestPlaySawtoothBufferQueue() 226 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, in TestPlaySawtoothBufferQueue() 229 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; in TestPlaySawtoothBufferQueue() 231 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, in TestPlaySawtoothBufferQueue() 234 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; in TestPlaySawtoothBufferQueue() 236 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, in TestPlaySawtoothBufferQueue() [all …]
|
D | slesTestRecBuffQueue.cpp | 356 CallbackCntxt cntxt; in TestRecToBuffQueue() local 357 cntxt.pDataBase = (int8_t*)&pcmData; in TestRecToBuffQueue() 358 cntxt.pData = cntxt.pDataBase; in TestRecToBuffQueue() 359 cntxt.size = sizeof(pcmData); in TestRecToBuffQueue() 360 result = (*recBuffQueueItf)->RegisterCallback(recBuffQueueItf, RecBufferQueueCallback, &cntxt); in TestRecToBuffQueue() 367 result = (*recBuffQueueItf)->Enqueue(recBuffQueueItf, cntxt.pData, BUFFER_SIZE_IN_BYTES); in TestRecToBuffQueue() 369 cntxt.pData += BUFFER_SIZE_IN_BYTES; in TestRecToBuffQueue() 372 cntxt.pData = cntxt.pDataBase; in TestRecToBuffQueue()
|
D | slesTestDecodeToBuffQueue.cpp | 401 CallbackCntxt cntxt; in TestDecToBuffQueue() local 402 cntxt.playItf = playItf; in TestDecToBuffQueue() 403 cntxt.metaItf = mdExtrItf; in TestDecToBuffQueue() 404 cntxt.pDataBase = (int8_t*)&pcmData; in TestDecToBuffQueue() 405 cntxt.pData = cntxt.pDataBase; in TestDecToBuffQueue() 406 cntxt.size = sizeof(pcmData); in TestDecToBuffQueue() 407 result = (*decBuffQueueItf)->RegisterCallback(decBuffQueueItf, DecPlayCallback, &cntxt); in TestDecToBuffQueue() 414 result = (*decBuffQueueItf)->Enqueue(decBuffQueueItf, cntxt.pData, BUFFER_SIZE_IN_BYTES); in TestDecToBuffQueue() 416 cntxt.pData += BUFFER_SIZE_IN_BYTES; in TestDecToBuffQueue() 419 cntxt.pData = cntxt.pDataBase; in TestDecToBuffQueue()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | MediaFocusControl.java | 50 protected MediaFocusControl(Context cntxt) { in MediaFocusControl() argument 51 mContext = cntxt; in MediaFocusControl()
|