Searched refs:pDataLocator (Results 1 – 1 of 1) sorted by relevance
27 static SLresult checkDataLocator(const char *name, void *pLocator, DataLocator *pDataLocator, in checkDataLocator() argument30 assert(NULL != name && NULL != pDataLocator); in checkDataLocator()35 pDataLocator->mLocatorType = locatorType = SL_DATALOCATOR_NULL; in checkDataLocator()41 pDataLocator->mAddress = *(SLDataLocator_Address *)pLocator; in checkDataLocator()43 if ((0 < pDataLocator->mAddress.length) && (NULL == pDataLocator->mAddress.pAddress)) { in checkDataLocator()56 pDataLocator->mBufferQueue = *(SLDataLocator_BufferQueue *)pLocator; in checkDataLocator()58 if (!((1 <= pDataLocator->mBufferQueue.numBuffers) && in checkDataLocator()59 (pDataLocator->mBufferQueue.numBuffers <= 255))) { in checkDataLocator()60 SL_LOGE("%s: numBuffers=%u", name, pDataLocator->mBufferQueue.numBuffers); in checkDataLocator()67 pDataLocator->mIODevice = *(SLDataLocator_IODevice *)pLocator; in checkDataLocator()[all …]