Home
last modified time | relevance | path

Searched refs:sampleRates (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsb10ASFormatII.java83 int[] sampleRates = getSampleRates(); in report() local
87 canvas.writeListItem("min: " + sampleRates[0]); in report()
88 canvas.writeListItem("max: " + sampleRates[1]); in report()
91 canvas.writeListItem("" + sampleRates[index]); in report()
DUsb10ASFormatI.java102 int[] sampleRates = getSampleRates(); in report() local
106 canvas.writeListItem("min: " + sampleRates[0]); in report()
107 canvas.writeListItem("max: " + sampleRates[1]); in report()
110 canvas.writeListItem("" + sampleRates[index]); in report()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfileVectorHelper.cpp185 const SampleRateSet sampleRates = audioProfile->getSampleRates(); in checkCompatibleSamplingRate() local
186 if (sampleRates.empty()) { in checkCompatibleSamplingRate()
194 auto desiredRate = sampleRates.lower_bound(samplingRate); in checkCompatibleSamplingRate()
197 if (desiredRate != sampleRates.end()) { in checkCompatibleSamplingRate()
204 if (desiredRate != sampleRates.begin()) { in checkCompatibleSamplingRate()
421 auto sampleRates = preferHigherSamplingRates ? in findBestMatchingOutputConfig() local
426 if (sampleRates.empty()) { in findBestMatchingOutputConfig()
430 __func__, *channels.begin(), *sampleRates.begin(), f); in findBestMatchingOutputConfig()
432 bestOutputConfig.sample_rate = *sampleRates.begin(); in findBestMatchingOutputConfig()
/frameworks/av/media/libaudiofoundation/
DAudioProfile.cpp73 void AudioProfile::setSampleRates(const SampleRateSet &sampleRates) in setSampleRates() argument
76 mSamplingRates = sampleRates; in setSampleRates()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioProfile.h44 void setSampleRates(const SampleRateSet &sampleRates);
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java1176 int[] sampleRates = null; in applyLevelLimits() local
1182 sampleRates = new int[] { in applyLevelLimits()
1189 sampleRates = new int[] { 8000 }; in applyLevelLimits()
1193 sampleRates = new int[] { 16000 }; in applyLevelLimits()
1197 sampleRates = new int[] { in applyLevelLimits()
1211 sampleRates = new int[] { 8000, 12000, 16000, 24000, 48000 }; in applyLevelLimits()
1223 sampleRates = new int[] { 8000 }; in applyLevelLimits()
1227 sampleRates = new int[] { 8000 }; in applyLevelLimits()
1235 sampleRates = new int[] { 48000 }; in applyLevelLimits()
1239 sampleRates = new int[] { 44100, 48000, 96000, 192000 }; in applyLevelLimits()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp263 int* sampleRates = env->GetIntArrayElements(jSampleRate, NULL); in android_media_AudioTrack_setup() local
264 int sampleRateInHertz = sampleRates[0]; in android_media_AudioTrack_setup()
265 env->ReleaseIntArrayElements(jSampleRate, sampleRates, JNI_ABORT); in android_media_AudioTrack_setup()