Home
last modified time | relevance | path

Searched refs:cntxt (Results 1 – 4 of 4) sorted by relevance

/frameworks/wilhelm/tests/examples/
DslesTestSawtoothBufferQueue.cpp132 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 …]
DslesTestDecodeToBuffQueue.cpp401 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()
DslesTestRecBuffQueue.cpp441 CallbackCntxt cntxt; in TestRecToBuffQueue() local
442 cntxt.pDataBase = (int8_t*)&pcmData; in TestRecToBuffQueue()
443 cntxt.pData = cntxt.pDataBase; in TestRecToBuffQueue()
444 cntxt.size = sizeof(pcmData); in TestRecToBuffQueue()
445 result = (*recBuffQueueItf)->RegisterCallback(recBuffQueueItf, RecBufferQueueCallback, &cntxt); in TestRecToBuffQueue()
452 result = (*recBuffQueueItf)->Enqueue(recBuffQueueItf, cntxt.pData, BUFFER_SIZE_IN_BYTES); in TestRecToBuffQueue()
454 cntxt.pData += BUFFER_SIZE_IN_BYTES; in TestRecToBuffQueue()
457 cntxt.pData = cntxt.pDataBase; in TestRecToBuffQueue()
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java103 protected MediaFocusControl(Context cntxt, PlayerFocusEnforcer pfe) { in MediaFocusControl() argument
104 mContext = cntxt; in MediaFocusControl()