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
117
CallbackCntxt *
pCntxt
= (CallbackCntxt*)pContext;
120
fwrite(
pCntxt
->pDataBase, BUFFER_SIZE_IN_BYTES, 1, gFp);
123
pCntxt
->pData += BUFFER_SIZE_IN_BYTES;
125
if (
pCntxt
->pData >=
pCntxt
->pDataBase + (NB_BUFFERS_IN_QUEUE * BUFFER_SIZE_IN_BYTES)) {
126
pCntxt
->pData =
pCntxt
->pDataBase;
129
ExitOnError( (*queueItf)->Enqueue(queueItf,
pCntxt
->pDataBase, BUFFER_SIZE_IN_BYTES) );
134
/*fprintf(stderr, "\tRecBufferQueueCallback now has
pCntxt
->pData=%p queue: "
136
pCntxt
->pData, recQueueState.count, recQueueState.index);*
[
all
...]
slesTestDecodeAac.cpp
324
CallbackCntxt *
pCntxt
= (CallbackCntxt*)pContext;
327
if (outputFp != NULL && fwrite(
pCntxt
->pData, 1, BUFFER_SIZE_IN_BYTES, outputFp)
334
res = (*queueItf)->Enqueue(queueItf,
pCntxt
->pData, BUFFER_SIZE_IN_BYTES);
338
pCntxt
->pData += BUFFER_SIZE_IN_BYTES;
339
if (
pCntxt
->pData >=
pCntxt
->pDataBase + (NB_BUFFERS_IN_PCM_QUEUE * BUFFER_SIZE_IN_BYTES)) {
340
pCntxt
->pData =
pCntxt
->pDataBase;
355
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;
/frameworks/ex/variablespeed/jni/
variablespeed.cc
820
CallbackContext *
pCntxt
;
823
pCntxt
= reinterpret_cast<CallbackContext*>(context);
827
decodeBuffer_.AddData(
pCntxt
->pData, kBufferSizeInBytes);
832
ReadSampleRateAndChannelCount(
pCntxt
, &mSampleRate, &mChannels);
838
totalDurationMs_ = ReadDuration(
pCntxt
->playItf);
841
// ReadPosition(
pCntxt
->playItf);
844
OpenSL(queueItf, Enqueue,
pCntxt
->pData, kBufferSizeInBytes);
847
pCntxt
->pData += kBufferSizeInBytes;
848
if (
pCntxt
->pData >=
pCntxt
->pDataBase
[
all
...]
Completed in 41 milliseconds