Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/
Ddata.c341 static SLresult checkDataFormat(const char *name, void *pFormat, DataFormat *pDataFormat, in checkDataFormat() argument
344 assert(NULL != name && NULL != pDataFormat); in checkDataFormat()
349 pDataFormat->mFormatType = formatType = SL_DATAFORMAT_NULL; in checkDataFormat()
354 pDataFormat->mPCMEx.representation = in checkDataFormat()
356 switch (pDataFormat->mPCMEx.representation) { in checkDataFormat()
360 df_representation = &pDataFormat->mPCMEx.representation; in checkDataFormat()
364 pDataFormat->mPCMEx.representation); in checkDataFormat()
370 pDataFormat->mPCM = *(SLDataFormat_PCM *)pFormat; in checkDataFormat()
372 if (pDataFormat->mPCM.numChannels == 0) { in checkDataFormat()
374 } else if (pDataFormat->mPCM.numChannels > SL_ANDROID_SPEAKER_COUNT_MAX) { in checkDataFormat()
[all …]