Searched refs:mSamplingRates (Results 1 – 3 of 3) sorted by relevance
68 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()
46 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
72 private final int[] mSamplingRates; field in AudioPort86 mSamplingRates = samplingRates; in AudioPort()125 return mSamplingRates; in samplingRates()