Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/
Ddata.cpp368 pDataFormat->mPCM = *(SLDataFormat_PCM *)pFormat; in checkDataFormat()
370 if (pDataFormat->mPCM.numChannels == 0) { in checkDataFormat()
372 } else if (pDataFormat->mPCM.numChannels > SL_ANDROID_SPEAKER_COUNT_MAX) { in checkDataFormat()
376 SL_LOGE("%s: numChannels=%u", name, (unsigned) pDataFormat->mPCM.numChannels); in checkDataFormat()
381 if (pDataFormat->mPCM.samplesPerSec == 0) { in checkDataFormat()
383 } else if (pDataFormat->mPCM.samplesPerSec < SL_SAMPLINGRATE_8 || in checkDataFormat()
384 pDataFormat->mPCM.samplesPerSec > SL_SAMPLINGRATE_192) { in checkDataFormat()
388 SL_LOGE("%s: samplesPerSec=%u", name, pDataFormat->mPCM.samplesPerSec); in checkDataFormat()
393 switch (pDataFormat->mPCM.containerSize) { in checkDataFormat()
419 SL_LOGE("%s: containerSize=%u", name, pDataFormat->mPCM.containerSize); in checkDataFormat()
[all …]
Ddata.h39 SLDataFormat_PCM mPCM; member
/frameworks/wilhelm/src/itf/
DIOutputMixExt.cpp369 if (SL_SAMPLINGRATE_44_1 != thiz->mDataSource.mFormat.mPCM.samplesPerSec) in IOutputMixExt_checkAudioPlayerSourceSink()
DIEngine.cpp307 thiz->mNumChannels = thiz->mDataSource.mFormat.mPCM.numChannels; in IEngine_CreateAudioPlayer()
308 thiz->mSampleRateMilliHz = thiz->mDataSource.mFormat.mPCM.samplesPerSec; in IEngine_CreateAudioPlayer()
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp641 const SLDataFormat_PCM *df_pcm = &ar->mDataSink.mFormat.mPCM; in android_audioRecorder_realize()