Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/
Ddata.cpp369 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()
377 SL_LOGE("%s: numChannels=%u", name, (unsigned) pDataFormat->mPCM.numChannels); in checkDataFormat()
382 if (pDataFormat->mPCM.samplesPerSec == 0) { in checkDataFormat()
384 } else if (pDataFormat->mPCM.samplesPerSec < SL_SAMPLINGRATE_8 || in checkDataFormat()
385 pDataFormat->mPCM.samplesPerSec > SL_SAMPLINGRATE_192) { in checkDataFormat()
389 SL_LOGE("%s: samplesPerSec=%u", name, pDataFormat->mPCM.samplesPerSec); in checkDataFormat()
394 switch (pDataFormat->mPCM.containerSize) { in checkDataFormat()
420 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.cpp642 const SLDataFormat_PCM *df_pcm = &ar->mDataSink.mFormat.mPCM; in android_audioRecorder_realize()