Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h68 void setSampleRates(const SampleRateVector &sampleRates) in setSampleRates() argument
71 mSamplingRates = sampleRates; in setSampleRates()
299 void setSampleRatesFor(const SampleRateVector &sampleRates, audio_format_t format) in setSampleRatesFor() argument
307 sampleRates); in setSampleRatesFor()
311 profile->setSampleRates(sampleRates); in setSampleRatesFor()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DConfigParsingUtils.cpp158 SampleRateVector sampleRates; in loadHwModuleProfile() local
168 collectionFromString<SampleRateTraits>(node->value, sampleRates); in loadHwModuleProfile()
192 sp<AudioProfile> profileToAdd = new AudioProfile(gDynamicFormat, channels, sampleRates); in loadHwModuleProfile()
195 profileToAdd->setDynamicRate(sampleRates.isEmpty()); in loadHwModuleProfile()
201 sp<AudioProfile> profileToAdd = new AudioProfile(formats[i], channels, sampleRates); in loadHwModuleProfile()
204 profileToAdd->setDynamicRate(sampleRates.isEmpty()); in loadHwModuleProfile()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java1062 int[] sampleRates = null; in applyLevelLimits() local
1068 sampleRates = new int[] { in applyLevelLimits()
1075 sampleRates = new int[] { 8000 }; in applyLevelLimits()
1079 sampleRates = new int[] { 16000 }; in applyLevelLimits()
1083 sampleRates = new int[] { in applyLevelLimits()
1097 sampleRates = new int[] { 8000, 12000, 16000, 24000, 48000 }; in applyLevelLimits()
1109 sampleRates = new int[] { 8000 }; in applyLevelLimits()
1113 sampleRates = new int[] { 8000 }; in applyLevelLimits()
1122 if (sampleRates != null) { in applyLevelLimits()
1123 limitSampleRates(sampleRates); in applyLevelLimits()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp264 int* sampleRates = env->GetIntArrayElements(jSampleRate, NULL); in android_media_AudioTrack_setup() local
265 int sampleRateInHertz = sampleRates[0]; in android_media_AudioTrack_setup()
266 env->ReleaseIntArrayElements(jSampleRate, sampleRates, JNI_ABORT); in android_media_AudioTrack_setup()