Home
last modified time | relevance | path

Searched refs:mSamplingRates (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfile.cpp68 if (mSamplingRates.isEmpty()) { in checkCompatibleSamplingRate()
76 size_t orderOfDesiredRate = mSamplingRates.orderOf(samplingRate); in checkCompatibleSamplingRate()
79 if (orderOfDesiredRate < mSamplingRates.size()) { in checkCompatibleSamplingRate()
80 uint32_t candidate = mSamplingRates[orderOfDesiredRate]; in checkCompatibleSamplingRate()
88 uint32_t candidate = mSamplingRates[orderOfDesiredRate - 1]; in checkCompatibleSamplingRate()
204 if (!mSamplingRates.isEmpty()) { in dump()
207 for (size_t i = 0; i < mSamplingRates.size(); i++) { in dump()
208 snprintf(buffer, SIZE, "%d", mSamplingRates[i]); in dump()
210 result.append(i == (mSamplingRates.size() - 1) ? "" : ", "); in dump()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h46 mSamplingRates.add(samplingRate); in AudioProfile()
55 mSamplingRates(samplingRateCollection) in AudioProfile()
71 mSamplingRates = sampleRates; in setSampleRates()
74 const SampleRateVector &getSampleRates() const { return mSamplingRates; } in getSampleRates()
84 mSamplingRates.clear(); in clear()
94 return mSamplingRates.indexOf(rate) >= 0; in supportsRate()
108 bool hasValidRates() const { return !mSamplingRates.isEmpty(); } in hasValidRates()
128 SampleRateVector mSamplingRates; variable
/frameworks/base/media/java/android/media/
DAudioPort.java72 private final int[] mSamplingRates; field in AudioPort
86 mSamplingRates = samplingRates; in AudioPort()
125 return mSamplingRates; in samplingRates()