/frameworks/wilhelm/tests/examples/ |
slesTestSawtoothBufferQueue.cpp | 135 CallbackCntxt cntxt; local 193 cntxt.pDataBase = /*(void*)&*/pcmData; 194 cntxt.pData = cntxt.pDataBase; 195 cntxt.size = sizeof(pcmData) / 2; 221 BufferQueueCallback, &cntxt); CheckErr(res); 229 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, 232 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; 234 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, 237 cntxt.pData += AUDIO_DATA_BUFFER_SIZE [all...] |
slesTestRecBuffQueue.cpp | 276 CallbackCntxt cntxt; local 277 cntxt.pDataBase = (int8_t*)&pcmData; 278 cntxt.pData = cntxt.pDataBase; 279 cntxt.size = sizeof(pcmData); 280 result = (*recBuffQueueItf)->RegisterCallback(recBuffQueueItf, RecBufferQueueCallback, &cntxt); 287 result = (*recBuffQueueItf)->Enqueue(recBuffQueueItf, cntxt.pData, BUFFER_SIZE_IN_BYTES); 289 cntxt.pData += BUFFER_SIZE_IN_BYTES; 292 cntxt.pData = cntxt.pDataBase [all...] |
slesTestDecodeToBuffQueue.cpp | 401 CallbackCntxt cntxt; local 402 cntxt.playItf = playItf; 403 cntxt.metaItf = mdExtrItf; 404 cntxt.pDataBase = (int8_t*)&pcmData; 405 cntxt.pData = cntxt.pDataBase; 406 cntxt.size = sizeof(pcmData); 407 result = (*decBuffQueueItf)->RegisterCallback(decBuffQueueItf, DecPlayCallback, &cntxt); 414 result = (*decBuffQueueItf)->Enqueue(decBuffQueueItf, cntxt.pData, BUFFER_SIZE_IN_BYTES); 416 cntxt.pData += BUFFER_SIZE_IN_BYTES [all...] |
/external/quake/quake/src/WinQuake/ |
snd_android.cpp | 110 CallbackCntxt cntxt; variable 177 cntxt.pDataBase = /*(void*)&*/pcmData; 178 cntxt.pData = cntxt.pDataBase; 179 cntxt.size = sizeof(pcmData) / 2; 205 BufferQueueCallback, &cntxt); CheckErr(res); 213 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, 216 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; 218 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, 221 cntxt.pData += AUDIO_DATA_BUFFER_SIZE [all...] |
/gdk/samples/quake/jni/ |
snd_android.cpp | 110 CallbackCntxt cntxt; variable 177 cntxt.pDataBase = /*(void*)&*/pcmData; 178 cntxt.pData = cntxt.pDataBase; 179 cntxt.size = sizeof(pcmData) / 2; 205 BufferQueueCallback, &cntxt); CheckErr(res); 213 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, 216 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; 218 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, 221 cntxt.pData += AUDIO_DATA_BUFFER_SIZE [all...] |