Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp796 uint32_t afSamplingRate; in android_media_AudioTrack_get_output_sample_rate() local
816 if (AudioSystem::getOutputSamplingRate(&afSamplingRate, nativeStreamType) != NO_ERROR) { in android_media_AudioTrack_get_output_sample_rate()
821 return afSamplingRate; in android_media_AudioTrack_get_output_sample_rate()
/frameworks/av/media/libmedia/
DAudioTrack.cpp596 uint32_t afSamplingRate; in setSampleRate() local
597 if (AudioSystem::getOutputSamplingRate(&afSamplingRate, mStreamType) != NO_ERROR) { in setSampleRate()
601 if (rate == 0 || rate > afSamplingRate*2 ) { in setSampleRate()