Searched refs:afSamplingRate (Results 1 – 2 of 2) sorted by relevance
796 uint32_t afSamplingRate; in android_media_AudioTrack_get_output_sample_rate() local816 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()
596 uint32_t afSamplingRate; in setSampleRate() local597 if (AudioSystem::getOutputSamplingRate(&afSamplingRate, mStreamType) != NO_ERROR) { in setSampleRate()601 if (rate == 0 || rate > afSamplingRate*2 ) { in setSampleRate()