Searched refs:pDataFormat (Results 1 – 1 of 1) sorted by relevance
336 static SLresult checkDataFormat(const char *name, void *pFormat, DataFormat *pDataFormat, in checkDataFormat() argument339 assert(NULL != name && NULL != pDataFormat); in checkDataFormat()344 pDataFormat->mFormatType = formatType = SL_DATAFORMAT_NULL; in checkDataFormat()350 pDataFormat->mPCM = *(SLDataFormat_PCM *)pFormat; in checkDataFormat()354 switch (pDataFormat->mPCM.numChannels) { in checkDataFormat()366 SL_LOGE("%s: numChannels=%u", name, (unsigned) pDataFormat->mPCM.numChannels); in checkDataFormat()371 switch (pDataFormat->mPCM.samplesPerSec) { in checkDataFormat()394 SL_LOGE("%s: samplesPerSec=%u", name, pDataFormat->mPCM.samplesPerSec); in checkDataFormat()399 switch (pDataFormat->mPCM.bitsPerSample) { in checkDataFormat()414 SL_LOGE("%s: bitsPerSample=%u", name, pDataFormat->mPCM.bitsPerSample); in checkDataFormat()[all …]