Home
last modified time | relevance | path

Searched refs:mSampleRateMilliHz (Results 1 – 6 of 6) sorted by relevance

/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp175 ar->mSampleRateMilliHz = df_pcm->samplesPerSec; in android_audioRecorder_checkSourceSinkSupport()
178 ar->mSampleRateMilliHz, ar->mNumChannels); in android_audioRecorder_checkSourceSinkSupport()
394 SL_LOGV("new AudioRecord %u channels, %u mHz", ar->mNumChannels, ar->mSampleRateMilliHz); in android_audioRecorder_realize()
399 sles_to_android_sampleRate(ar->mSampleRateMilliHz), // sample rate in Hertz in android_audioRecorder_realize()
484 * sles_to_android_sampleRate(ar->mSampleRateMilliHz)))/1000)); in android_audioRecorder_useRecordEventMask()
494 * sles_to_android_sampleRate(ar->mSampleRateMilliHz)))/1000)); in android_audioRecorder_useRecordEventMask()
533 if (ar->mSampleRateMilliHz == UNKNOWN_SAMPLERATE) { in android_audioRecorder_getPosition()
537 sles_to_android_sampleRate(ar->mSampleRateMilliHz); in android_audioRecorder_getPosition()
DAudioPlayer_to_android.cpp1482 pAudioPlayer->mSampleRateMilliHz = df_pcm->samplesPerSec; // Note: bad field name in SL ES in android_audioPlayer_realize()
1742 uint32_t contentRate = sles_to_android_sampleRate(ap->mSampleRateMilliHz); in android_audioPlayer_setPlaybackRateAndConstraints()
2015 * sles_to_android_sampleRate(ap->mSampleRateMilliHz)))/1000)); in android_audioPlayer_usePlayEventMask()
2024 * sles_to_android_sampleRate(ap->mSampleRateMilliHz)))/1000)); in android_audioPlayer_usePlayEventMask()
2078 if ((ap->mSampleRateMilliHz == UNKNOWN_SAMPLERATE) || (ap->mAudioTrack == 0)) { in android_audioPlayer_getPosition()
2084 sles_to_android_sampleRate(ap->mSampleRateMilliHz); in android_audioPlayer_getPosition()
/frameworks/wilhelm/src/desktop/
DSndFile.c54 SLuint32 sampleRateMilliHz = thisAP->mSampleRateMilliHz; in SndFile_Callback()
264 thiz->mSampleRateMilliHz = thiz->mSndFile.mSfInfo.samplerate * 1000; in SndFile_Realize()
267 (long long) thiz->mSampleRateMilliHz) / 1000000LL; in SndFile_Realize()
/frameworks/wilhelm/src/
Dclasses.h76 SLuint32 mSampleRateMilliHz;// initially UNKNOWN_SAMPLERATE, then const once it is known member
147 SLuint32 mSampleRateMilliHz;// initially UNKNOWN_SAMPLERATE, then const once it is known member
/frameworks/wilhelm/src/itf/
DIEngine.c212 thiz->mSampleRateMilliHz = UNKNOWN_SAMPLERATE; in IEngine_CreateAudioPlayer()
304 thiz->mSampleRateMilliHz = thiz->mDataSource.mFormat.mPCM.samplesPerSec; in IEngine_CreateAudioPlayer()
331 thiz->mSampleRateMilliHz = UNKNOWN_SAMPLERATE; in IEngine_CreateAudioPlayer()
450 thiz->mSampleRateMilliHz = UNKNOWN_SAMPLERATE; in IEngine_CreateAudioRecorder()
DIPlay.c397 (long long) audioPlayer->mSampleRateMilliHz) / 1000000LL; in IPlay_SetPositionUpdatePeriod()