Home
last modified time | relevance | path

Searched refs:afSamplingRate (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp1082 uint32_t afSamplingRate; in android_media_AudioTrack_get_output_sample_rate() local
1102 status_t status = AudioSystem::getOutputSamplingRate(&afSamplingRate, nativeStreamType); in android_media_AudioTrack_get_output_sample_rate()
1108 return afSamplingRate; in android_media_AudioTrack_get_output_sample_rate()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp934 uint32_t afSamplingRate; in setSampleRate() local
935 if (AudioSystem::getSamplingRate(mOutput, &afSamplingRate) != NO_ERROR) { in setSampleRate()
940 if (rate == 0 || effectiveSampleRate > afSamplingRate * AUDIO_RESAMPLER_DOWN_RATIO_MAX) { in setSampleRate()