Searched refs:pDataBase (Results 1 – 4 of 4) sorted by relevance
/frameworks/wilhelm/tests/examples/ |
D | slesTestRecBuffQueue.cpp | 86 SLint8* pDataBase; // Base address of local audio data storage member 126 memcpy_to_i16_from_u8(temp, (const unsigned char *) pCntxt->pDataBase, in RecBufferQueueCallback() 131 (void) sf_writef_short(sndfile, (const short *) pCntxt->pDataBase, frameCount); in RecBufferQueueCallback() 134 (void) sf_writef_int(sndfile, (const int *) pCntxt->pDataBase, frameCount); in RecBufferQueueCallback() 137 (void) sf_writef_float(sndfile, (const float *) pCntxt->pDataBase, frameCount); in RecBufferQueueCallback() 147 if (pCntxt->pData >= pCntxt->pDataBase + (NB_BUFFERS_IN_QUEUE * BUFFER_SIZE_IN_BYTES)) { in RecBufferQueueCallback() 148 pCntxt->pData = pCntxt->pDataBase; in RecBufferQueueCallback() 151 ExitOnError( (*queueItf)->Enqueue(queueItf, pCntxt->pDataBase, BUFFER_SIZE_IN_BYTES) ); in RecBufferQueueCallback() 442 cntxt.pDataBase = (int8_t*)&pcmData; in TestRecToBuffQueue() 443 cntxt.pData = cntxt.pDataBase; in TestRecToBuffQueue() [all …]
|
D | slesTestDecodeToBuffQueue.cpp | 114 SLint8* pDataBase; // Base address of local audio data storage member 188 if (fwrite(pCntxt->pDataBase, 1, BUFFER_SIZE_IN_BYTES, gFp) < BUFFER_SIZE_IN_BYTES) { in DecPlayCallback() 197 if (pCntxt->pData >= pCntxt->pDataBase + (NB_BUFFERS_IN_QUEUE * BUFFER_SIZE_IN_BYTES)) { in DecPlayCallback() 198 pCntxt->pData = pCntxt->pDataBase; in DecPlayCallback() 201 ExitOnError( (*queueItf)->Enqueue(queueItf, pCntxt->pDataBase, BUFFER_SIZE_IN_BYTES) ); in DecPlayCallback() 404 cntxt.pDataBase = (int8_t*)&pcmData; in TestDecToBuffQueue() 405 cntxt.pData = cntxt.pDataBase; in TestDecToBuffQueue() 419 cntxt.pData = cntxt.pDataBase; in TestDecToBuffQueue()
|
D | slesTestSawtoothBufferQueue.cpp | 74 SLint16* pDataBase; // Base adress of local audio data storage member 92 if(pCntxt->pData < (pCntxt->pDataBase + pCntxt->size)) in BufferQueueCallback() 190 cntxt.pDataBase = /*(void*)&*/pcmData; in TestPlaySawtoothBufferQueue() 191 cntxt.pData = cntxt.pDataBase; in TestPlaySawtoothBufferQueue()
|
D | slesTestDecodeAac.cpp | 196 SLint8* pDataBase; // Base address of local audio data storage member 338 if (pCntxt->pData >= pCntxt->pDataBase + (NB_BUFFERS_IN_PCM_QUEUE * BUFFER_SIZE_IN_BYTES)) { in DecPlayCallback() 339 pCntxt->pData = pCntxt->pDataBase; in DecPlayCallback() 614 sinkCntxt.pDataBase = (int8_t*)&pcmData; in TestDecToBuffQueue() 615 sinkCntxt.pData = sinkCntxt.pDataBase; in TestDecToBuffQueue() 626 if (sinkCntxt.pData >= sinkCntxt.pDataBase + in TestDecToBuffQueue() 628 sinkCntxt.pData = sinkCntxt.pDataBase; in TestDecToBuffQueue()
|