Home
last modified time | relevance | path

Searched refs:pDataLocator (Results 1 – 1 of 1) sorted by relevance

/frameworks/wilhelm/src/
Ddata.c29 static SLresult checkDataLocator(const char *name, void *pLocator, DataLocator *pDataLocator, in checkDataLocator() argument
32 assert(NULL != name && NULL != pDataLocator); in checkDataLocator()
37 pDataLocator->mLocatorType = locatorType = SL_DATALOCATOR_NULL; in checkDataLocator()
43 pDataLocator->mAddress = *(SLDataLocator_Address *)pLocator; in checkDataLocator()
45 if ((0 < pDataLocator->mAddress.length) && (NULL == pDataLocator->mAddress.pAddress)) { in checkDataLocator()
58 pDataLocator->mBufferQueue = *(SLDataLocator_BufferQueue *)pLocator; in checkDataLocator()
60 if (!((1 <= pDataLocator->mBufferQueue.numBuffers) && in checkDataLocator()
61 (pDataLocator->mBufferQueue.numBuffers <= 255))) { in checkDataLocator()
62 SL_LOGE("%s: numBuffers=%u", name, pDataLocator->mBufferQueue.numBuffers); in checkDataLocator()
69 pDataLocator->mIODevice = *(SLDataLocator_IODevice *)pLocator; in checkDataLocator()
[all …]