OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pCntxt
(Results
1 - 5
of
5
) sorted by null
/frameworks/wilhelm/tests/examples/
slesTestDecodeToBuffQueue.cpp
178
CallbackCntxt *
pCntxt
= (CallbackCntxt*)pContext;
182
SLresult result = (*
pCntxt
->playItf)->GetPosition(
pCntxt
->playItf, &msec);
188
if (fwrite(
pCntxt
->pDataBase, 1, BUFFER_SIZE_IN_BYTES, gFp) < BUFFER_SIZE_IN_BYTES) {
195
pCntxt
->pData += BUFFER_SIZE_IN_BYTES;
197
if (
pCntxt
->pData >=
pCntxt
->pDataBase + (NB_BUFFERS_IN_QUEUE * BUFFER_SIZE_IN_BYTES)) {
198
pCntxt
->pData =
pCntxt
->pDataBase;
201
ExitOnError( (*queueItf)->Enqueue(queueItf,
pCntxt
->pDataBase, BUFFER_SIZE_IN_BYTES) )
[
all
...]
slesTestRecBuffQueue.cpp
119
CallbackCntxt *
pCntxt
= (CallbackCntxt*)pContext;
126
memcpy_to_i16_from_u8(temp, (const unsigned char *)
pCntxt
->pDataBase,
131
(void) sf_writef_short(sndfile, (const short *)
pCntxt
->pDataBase, frameCount);
134
(void) sf_writef_int(sndfile, (const int *)
pCntxt
->pDataBase, frameCount);
137
(void) sf_writef_float(sndfile, (const float *)
pCntxt
->pDataBase, frameCount);
145
pCntxt
->pData += BUFFER_SIZE_IN_BYTES;
147
if (
pCntxt
->pData >=
pCntxt
->pDataBase + (NB_BUFFERS_IN_QUEUE * BUFFER_SIZE_IN_BYTES)) {
148
pCntxt
->pData =
pCntxt
->pDataBase
[
all
...]
slesTestDecodeAac.cpp
323
CallbackCntxt *
pCntxt
= (CallbackCntxt*)pContext;
326
if (outputFp != NULL && fwrite(
pCntxt
->pData, 1, BUFFER_SIZE_IN_BYTES, outputFp)
333
res = (*queueItf)->Enqueue(queueItf,
pCntxt
->pData, BUFFER_SIZE_IN_BYTES);
337
pCntxt
->pData += BUFFER_SIZE_IN_BYTES;
338
if (
pCntxt
->pData >=
pCntxt
->pDataBase + (NB_BUFFERS_IN_PCM_QUEUE * BUFFER_SIZE_IN_BYTES)) {
339
pCntxt
->pData =
pCntxt
->pDataBase;
354
res = (*
pCntxt
->metaItf)->GetValue(
pCntxt
->metaItf, sampleRateKeyIndex
[
all
...]
slesTestSawtoothBufferQueue.cpp
90
CallbackCntxt *
pCntxt
= (CallbackCntxt*)pContext;
92
if(
pCntxt
->pData < (
pCntxt
->pDataBase +
pCntxt
->size))
95
res = (*queueItf)->Enqueue(queueItf, (void*)
pCntxt
->pData,
99
pCntxt
->pData += AUDIO_DATA_BUFFER_SIZE;
/cts/tests/tests/media/libaudiojni/
appendix-b-1-1-buffer-queue.cpp
60
CallbackCntxt *
pCntxt
= (CallbackCntxt*)pContext;
61
if (
pCntxt
->pData < (
pCntxt
->pDataBase +
pCntxt
->size)) {
62
res = (*queueItf)->Enqueue(queueItf, (void *)
pCntxt
->pData,
66
pCntxt
->pData += AUDIO_DATA_BUFFER_SIZE;
Completed in 76 milliseconds