Searched defs:df_pcm (Results 1 - 3 of 3) sorted by path

/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp961 const SLAndroidDataFormat_PCM_EX *df_pcm = local
964 df_representation = &df_pcm->representation;
968 const SLDataFormat_PCM *df_pcm = (const SLDataFormat_PCM *) pAudioSrc->pFormat; local
969 SLresult result = android_audioPlayer_validateChannelMask(df_pcm->channelMask,
970 df_pcm->numChannels);
973 (unsigned) df_pcm->numChannels);
982 // df_pcm->channelMask: the earlier platform-independent check and the
985 if (df_pcm->endianness != pAudioPlayer->mObject.mEngine->mEngine.mNativeEndianness) {
987 df_pcm->endianness);
992 if (df_pcm
1468 SLDataFormat_PCM *df_pcm = (SLDataFormat_PCM *) local
[all...]
H A DAudioRecorder_to_android.cpp177 const SLAndroidDataFormat_PCM_EX *df_pcm = local
180 df_representation = &df_pcm->representation;
183 const SLDataFormat_PCM *df_pcm = (const SLDataFormat_PCM *) pAudioSnk->pFormat; local
185 ar->mNumChannels = df_pcm->numChannels;
187 if (df_pcm->endianness != ar->mObject.mEngine->mEngine.mNativeEndianness) {
189 df_pcm->endianness);
193 ar->mSampleRateMilliHz = df_pcm->samplesPerSec; // Note: bad field name in SL ES
198 if (df_pcm->containerSize != df_pcm->bitsPerSample) {
201 df_pcm
428 const SLDataFormat_PCM *df_pcm = &ar->mDataSink.mFormat.mPCM; local
[all...]
H A Dandroid_sles_conversions.h29 static inline audio_format_t sles_to_android_sampleFormat(const SLDataFormat_PCM *df_pcm) { argument
30 if (df_pcm->containerSize != df_pcm->bitsPerSample) {
33 switch (df_pcm->formatType) {
35 switch (df_pcm->containerSize) {
48 switch (((SLAndroidDataFormat_PCM_EX *)df_pcm)->representation) {
50 switch (df_pcm->containerSize) {
57 switch (df_pcm->containerSize) {
68 switch (df_pcm->containerSize) {

Completed in 117 milliseconds