Home | History | Annotate | Download | only in examples

Lines Matching refs:pCntxt

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) );
211 fprintf(stderr, "\DecBufferQueueCallback now has pCntxt->pData=%p queue: "
213 pCntxt->pData, decQueueState.count, decQueueState.index);
219 SLresult result = (*pCntxt->playItf)->GetDuration(pCntxt->playItf, &durationInMsec);
232 SLresult result = (*pCntxt->playItf)->GetPosition(pCntxt->playItf, &posMsec);
246 SLresult res = (*pCntxt->metaItf)->GetValue(pCntxt->metaItf, sampleRateKeyIndex,
253 res = (*pCntxt->metaItf)->GetValue(pCntxt->metaItf, channelCountKeyIndex,