Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/
Ddata.cpp339 static SLresult checkDataFormat(const char *name, void *pFormat, DataFormat *pDataFormat, in checkDataFormat() argument
342 assert(NULL != name && NULL != pDataFormat); in checkDataFormat()
347 pDataFormat->mFormatType = formatType = SL_DATAFORMAT_NULL; in checkDataFormat()
352 pDataFormat->mPCMEx.representation = in checkDataFormat()
354 switch (pDataFormat->mPCMEx.representation) { in checkDataFormat()
358 df_representation = &pDataFormat->mPCMEx.representation; in checkDataFormat()
362 pDataFormat->mPCMEx.representation); in checkDataFormat()
369 pDataFormat->mPCM = *(SLDataFormat_PCM *)pFormat; in checkDataFormat()
371 if (pDataFormat->mPCM.numChannels == 0) { in checkDataFormat()
373 } else if (pDataFormat->mPCM.numChannels > SL_ANDROID_SPEAKER_COUNT_MAX) { in checkDataFormat()
[all …]