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()
403 SL_LOGV("new AudioRecord %u channels, %u mHz", ar->mNumChannels, ar->mSampleRateMilliHz); in android_audioRecorder_realize()
411 sles_to_android_sampleRate(ar->mSampleRateMilliHz), // sample rate in Hertz in android_audioRecorder_realize()
514 * sles_to_android_sampleRate(ar->mSampleRateMilliHz)))/1000)); in android_audioRecorder_useRecordEventMask()
524 * sles_to_android_sampleRate(ar->mSampleRateMilliHz)))/1000)); in android_audioRecorder_useRecordEventMask()
563 if (ar->mSampleRateMilliHz == UNKNOWN_SAMPLERATE) { in android_audioRecorder_getPosition()
567 sles_to_android_sampleRate(ar->mSampleRateMilliHz); in android_audioRecorder_getPosition()
DAudioPlayer_to_android.cpp1545 pAudioPlayer->mSampleRateMilliHz = df_pcm->samplesPerSec; // Note: bad field name in SL ES in android_audioPlayer_realize()
1805 uint32_t contentRate = sles_to_android_sampleRate(ap->mSampleRateMilliHz); in android_audioPlayer_setPlaybackRateAndConstraints()
2078 * sles_to_android_sampleRate(ap->mSampleRateMilliHz)))/1000)); in android_audioPlayer_usePlayEventMask()
2087 * sles_to_android_sampleRate(ap->mSampleRateMilliHz)))/1000)); in android_audioPlayer_usePlayEventMask()
2141 if ((ap->mSampleRateMilliHz == UNKNOWN_SAMPLERATE) || (ap->mAudioTrack == 0)) { in android_audioPlayer_getPosition()
2147 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
150 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()
306 thiz->mSampleRateMilliHz = thiz->mDataSource.mFormat.mPCM.samplesPerSec; in IEngine_CreateAudioPlayer()
335 thiz->mSampleRateMilliHz = UNKNOWN_SAMPLERATE; in IEngine_CreateAudioPlayer()
454 thiz->mSampleRateMilliHz = UNKNOWN_SAMPLERATE; in IEngine_CreateAudioRecorder()
DIPlay.c397 (long long) audioPlayer->mSampleRateMilliHz) / 1000000LL; in IPlay_SetPositionUpdatePeriod()