Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.cpp888 SLDataFormat_PCM *df_pcm = (SLDataFormat_PCM *) pAudioSrc->pFormat; in android_audioPlayer_checkSourceSink() local
889 switch (df_pcm->numChannels) { in android_audioPlayer_checkSourceSink()
896 "PCM data source with %u channels", (unsigned) df_pcm->numChannels); in android_audioPlayer_checkSourceSink()
899 switch (df_pcm->samplesPerSec) { in android_audioPlayer_checkSourceSink()
916 (unsigned) df_pcm->samplesPerSec); in android_audioPlayer_checkSourceSink()
919 switch (df_pcm->bitsPerSample) { in android_audioPlayer_checkSourceSink()
927 (SLuint32)df_pcm->bitsPerSample); in android_audioPlayer_checkSourceSink()
930 switch (df_pcm->containerSize) { in android_audioPlayer_checkSourceSink()
937 (unsigned) df_pcm->containerSize); in android_audioPlayer_checkSourceSink()
942 switch (df_pcm->endianness) { in android_audioPlayer_checkSourceSink()
[all …]
DAudioRecorder_to_android.cpp174 SLDataFormat_PCM *df_pcm = (SLDataFormat_PCM *)ar->mDataSink.u.mSink.pFormat; in android_audioRecorder_checkSourceSinkSupport() local
175 ar->mSampleRateMilliHz = df_pcm->samplesPerSec; in android_audioRecorder_checkSourceSinkSupport()
176 ar->mNumChannels = df_pcm->numChannels; in android_audioRecorder_checkSourceSinkSupport()