Searched refs:df_pcm (Results 1 – 3 of 3) sorted by relevance
29 static inline audio_format_t sles_to_android_sampleFormat(const SLDataFormat_PCM *df_pcm) { in sles_to_android_sampleFormat() argument30 if (df_pcm->containerSize != df_pcm->bitsPerSample) { in sles_to_android_sampleFormat()33 switch (df_pcm->formatType) { in sles_to_android_sampleFormat()35 switch (df_pcm->containerSize) { in sles_to_android_sampleFormat()48 switch (((SLAndroidDataFormat_PCM_EX *)df_pcm)->representation) { in sles_to_android_sampleFormat()50 switch (df_pcm->containerSize) { in sles_to_android_sampleFormat()57 switch (df_pcm->containerSize) { in sles_to_android_sampleFormat()68 switch (df_pcm->containerSize) { in sles_to_android_sampleFormat()
243 const SLAndroidDataFormat_PCM_EX *df_pcm = in android_audioRecorder_checkSourceSink() local246 df_representation = &df_pcm->representation; in android_audioRecorder_checkSourceSink()250 const SLDataFormat_PCM *df_pcm = (const SLDataFormat_PCM *) pAudioSnk->pFormat; in android_audioRecorder_checkSourceSink() local252 ar->mNumChannels = df_pcm->numChannels; in android_audioRecorder_checkSourceSink()254 if (df_pcm->endianness != ar->mObject.mEngine->mEngine.mNativeEndianness) { in android_audioRecorder_checkSourceSink()256 df_pcm->endianness); in android_audioRecorder_checkSourceSink()260 ar->mSampleRateMilliHz = df_pcm->samplesPerSec; // Note: bad field name in SL ES in android_audioRecorder_checkSourceSink()265 if (df_pcm->containerSize != df_pcm->bitsPerSample) { in android_audioRecorder_checkSourceSink()268 df_pcm->containerSize, (SLuint32)df_pcm->bitsPerSample); in android_audioRecorder_checkSourceSink()642 const SLDataFormat_PCM *df_pcm = &ar->mDataSink.mFormat.mPCM; in android_audioRecorder_realize() local[all …]
1062 const SLAndroidDataFormat_PCM_EX *df_pcm = in android_audioPlayer_checkSourceSink() local1065 df_representation = &df_pcm->representation; in android_audioPlayer_checkSourceSink()1070 const SLDataFormat_PCM *df_pcm = (const SLDataFormat_PCM *) pAudioSrc->pFormat; in android_audioPlayer_checkSourceSink() local1071 SLresult result = android_audioPlayer_validateChannelMask(df_pcm->channelMask, in android_audioPlayer_checkSourceSink()1072 df_pcm->numChannels); in android_audioPlayer_checkSourceSink()1075 (unsigned) df_pcm->numChannels); in android_audioPlayer_checkSourceSink()1087 if (df_pcm->endianness != pAudioPlayer->mObject.mEngine->mEngine.mNativeEndianness) { in android_audioPlayer_checkSourceSink()1089 df_pcm->endianness); in android_audioPlayer_checkSourceSink()1094 if (df_pcm->containerSize != df_pcm->bitsPerSample) { in android_audioPlayer_checkSourceSink()1097 df_pcm->containerSize, (SLuint32)df_pcm->bitsPerSample); in android_audioPlayer_checkSourceSink()[all …]