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 …]
DslesTestRecBuffQueue.cpp356 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()
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()
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java50 protected MediaFocusControl(Context cntxt) { in MediaFocusControl() argument
51 mContext = cntxt; in MediaFocusControl()