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.cpp912 SLDataFormat_PCM *df_pcm = (SLDataFormat_PCM *) pAudioSrc->pFormat; in android_audioPlayer_checkSourceSink() local
913 switch (df_pcm->numChannels) { in android_audioPlayer_checkSourceSink()
920 "PCM data source with %u channels", (unsigned) df_pcm->numChannels); in android_audioPlayer_checkSourceSink()
923 switch (df_pcm->samplesPerSec) { in android_audioPlayer_checkSourceSink()
940 (unsigned) df_pcm->samplesPerSec); in android_audioPlayer_checkSourceSink()
943 switch (df_pcm->bitsPerSample) { in android_audioPlayer_checkSourceSink()
951 (SLuint32)df_pcm->bitsPerSample); in android_audioPlayer_checkSourceSink()
954 switch (df_pcm->containerSize) { in android_audioPlayer_checkSourceSink()
961 (unsigned) df_pcm->containerSize); in android_audioPlayer_checkSourceSink()
966 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()