Searched refs:afSamplingRate (Results 1 – 2 of 2) sorted by relevance
763 int afSamplingRate; in android_media_AudioTrack_get_output_sample_rate() local787 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()
521 int afSamplingRate; in setSampleRate() local523 if (AudioSystem::getOutputSamplingRate(&afSamplingRate, mStreamType) != NO_ERROR) { in setSampleRate()527 if (rate <= 0 || rate > afSamplingRate*2 ) return BAD_VALUE; in setSampleRate()