HomeSort by relevance Sort by last modified time
    Searched refs:mSamplingRates (Results 1 - 5 of 5) sorted by null

  /frameworks/base/media/java/android/media/
AudioPort.java 72 private final int[] mSamplingRates;
86 mSamplingRates = samplingRates;
125 return mSamplingRates;
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
AudioProfile.cpp 68 if (mSamplingRates.isEmpty()) {
76 size_t orderOfDesiredRate = mSamplingRates.orderOf(samplingRate);
79 if (orderOfDesiredRate < mSamplingRates.size()) {
80 uint32_t candidate = mSamplingRates[orderOfDesiredRate];
88 uint32_t candidate = mSamplingRates[orderOfDesiredRate - 1];
204 if (!mSamplingRates.isEmpty()) {
207 for (size_t i = 0; i < mSamplingRates.size(); i++) {
208 snprintf(buffer, SIZE, "%d", mSamplingRates[i]);
210 result.append(i == (mSamplingRates.size() - 1) ? "" : ", ");
  /frameworks/av/services/audiopolicy/common/managerdefinitions/include/
AudioProfile.h 46 mSamplingRates.add(samplingRate);
55 mSamplingRates(samplingRateCollection)
71 mSamplingRates = sampleRates;
74 const SampleRateVector &getSampleRates() const { return mSamplingRates; }
84 mSamplingRates.clear();
94 return mSamplingRates.indexOf(rate) >= 0;
108 bool hasValidRates() const { return !mSamplingRates.isEmpty(); }
128 SampleRateVector mSamplingRates;
  /hardware/libhardware_legacy/audio/
AudioPolicyManagerBase.cpp     [all...]
  /hardware/libhardware_legacy/include/hardware_legacy/
AudioPolicyManagerBase.h 219 // by convention, "0' in the first entry in mSamplingRates, mChannelMasks or mFormats
222 Vector <uint32_t> mSamplingRates; // supported sampling rates

Completed in 1007 milliseconds