Searched refs:df_pcm (Results 1 - 3 of 3) sorted by relevance

/frameworks/wilhelm/src/android/
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) {
H A DAudioRecorder_to_android.cpp243 const SLAndroidDataFormat_PCM_EX *df_pcm = local
246 df_representation = &df_pcm->representation;
249 const SLDataFormat_PCM *df_pcm = (const SLDataFormat_PCM *) pAudioSnk->pFormat; local
251 ar->mNumChannels = df_pcm->numChannels;
253 if (df_pcm->endianness != ar->mObject.mEngine->mEngine.mNativeEndianness) {
255 df_pcm->endianness);
259 ar->mSampleRateMilliHz = df_pcm->samplesPerSec; // Note: bad field name in SL ES
264 if (df_pcm->containerSize != df_pcm->bitsPerSample) {
267 df_pcm
641 const SLDataFormat_PCM *df_pcm = &ar->mDataSink.mFormat.mPCM; local
[all...]
H A DAudioPlayer_to_android.cpp1062 const SLAndroidDataFormat_PCM_EX *df_pcm = local
1065 df_representation = &df_pcm->representation;
1069 const SLDataFormat_PCM *df_pcm = (const SLDataFormat_PCM *) pAudioSrc->pFormat; local
1070 SLresult result = android_audioPlayer_validateChannelMask(df_pcm->channelMask,
1071 df_pcm->numChannels);
1074 (unsigned) df_pcm->numChannels);
1083 // df_pcm->channelMask: the earlier platform-independent check and the
1086 if (df_pcm->endianness != pAudioPlayer->mObject.mEngine->mEngine.mNativeEndianness) {
1088 df_pcm->endianness);
1093 if (df_pcm
1634 SLDataFormat_PCM *df_pcm = (SLDataFormat_PCM *) local
[all...]

Completed in 56 milliseconds