Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp763 int afSamplingRate; in android_media_AudioTrack_get_output_sample_rate() local
787 if (AudioSystem::getOutputSamplingRate(&afSamplingRate, nativeStreamType) != NO_ERROR) { in android_media_AudioTrack_get_output_sample_rate()
792 return afSamplingRate; in android_media_AudioTrack_get_output_sample_rate()
/frameworks/base/media/libmedia/
DAudioTrack.cpp521 int afSamplingRate; in setSampleRate() local
523 if (AudioSystem::getOutputSamplingRate(&afSamplingRate, mStreamType) != NO_ERROR) { in setSampleRate()
527 if (rate <= 0 || rate > afSamplingRate*2 ) return BAD_VALUE; in setSampleRate()