Searched refs:pDataLocator (Results 1 – 1 of 1) sorted by relevance
24 static SLresult checkDataLocator(const char *name, void *pLocator, DataLocator *pDataLocator, in checkDataLocator() argument27 assert(NULL != name && NULL != pDataLocator); in checkDataLocator()32 pDataLocator->mLocatorType = locatorType = SL_DATALOCATOR_NULL; in checkDataLocator()38 pDataLocator->mAddress = *(SLDataLocator_Address *)pLocator; in checkDataLocator()40 if ((0 < pDataLocator->mAddress.length) && (NULL == pDataLocator->mAddress.pAddress)) { in checkDataLocator()53 pDataLocator->mBufferQueue = *(SLDataLocator_BufferQueue *)pLocator; in checkDataLocator()55 if (!((1 <= pDataLocator->mBufferQueue.numBuffers) && in checkDataLocator()56 (pDataLocator->mBufferQueue.numBuffers <= 255))) { in checkDataLocator()57 SL_LOGE("%s: numBuffers=%u", name, pDataLocator->mBufferQueue.numBuffers); in checkDataLocator()64 pDataLocator->mIODevice = *(SLDataLocator_IODevice *)pLocator; in checkDataLocator()[all …]