Home
last modified time | relevance | path

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

/frameworks/wilhelm/tests/examples/
DslesTestSawtoothBufferQueue.cpp135 CallbackCntxt cntxt; in TestPlaySawtoothBufferQueue() local
193 cntxt.pDataBase = /*(void*)&*/pcmData; in TestPlaySawtoothBufferQueue()
194 cntxt.pData = cntxt.pDataBase; in TestPlaySawtoothBufferQueue()
195 cntxt.size = sizeof(pcmData) / 2; in TestPlaySawtoothBufferQueue()
221 BufferQueueCallback, &cntxt); CheckErr(res); in TestPlaySawtoothBufferQueue()
229 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, in TestPlaySawtoothBufferQueue()
232 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; in TestPlaySawtoothBufferQueue()
234 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, in TestPlaySawtoothBufferQueue()
237 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; in TestPlaySawtoothBufferQueue()
239 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, in TestPlaySawtoothBufferQueue()
[all …]
DslesTestRecBuffQueue.cpp279 CallbackCntxt cntxt; in TestRecToBuffQueue() local
280 cntxt.pDataBase = (int8_t*)&pcmData; in TestRecToBuffQueue()
281 cntxt.pData = cntxt.pDataBase; in TestRecToBuffQueue()
282 cntxt.size = sizeof(pcmData); in TestRecToBuffQueue()
283 result = (*recBuffQueueItf)->RegisterCallback(recBuffQueueItf, RecBufferQueueCallback, &cntxt); in TestRecToBuffQueue()
290 result = (*recBuffQueueItf)->Enqueue(recBuffQueueItf, cntxt.pData, BUFFER_SIZE_IN_BYTES); in TestRecToBuffQueue()
292 cntxt.pData += BUFFER_SIZE_IN_BYTES; in TestRecToBuffQueue()
295 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/media/java/android/media/
DMediaFocusControl.java87 protected MediaFocusControl(Looper looper, Context cntxt, in MediaFocusControl() argument
90 mContext = cntxt; in MediaFocusControl()