Home
last modified time | relevance | path

Searched refs:samplingRates (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp154 void AudioPort::pickSamplingRate(uint32_t &pickedRate,const SampleRateVector &samplingRates) const in pickSamplingRate()
162 for (size_t i = 0; i < samplingRates.size(); i ++) { in pickSamplingRate()
163 if ((samplingRates[i] < samplingRate) && (samplingRates[i] > 0)) { in pickSamplingRate()
164 samplingRate = samplingRates[i]; in pickSamplingRate()
180 for (size_t i = 0; i < samplingRates.size(); i ++) { in pickSamplingRate()
181 if ((samplingRates[i] > pickedRate) && (samplingRates[i] <= maxRate)) { in pickSamplingRate()
182 pickedRate = samplingRates[i]; in pickSamplingRate()
DSerializer.cpp191 const char AudioProfileTraits::Attributes::samplingRates[] = "samplingRates"; member in android::AudioProfileTraits::Attributes
198 string samplingRates = getXmlAttribute(root, Attributes::samplingRates); in deserialize() local
204 samplingRatesFromString(samplingRates, ",")); in deserialize()
/frameworks/base/media/java/android/media/
DAudioPort.java80 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioPort() argument
86 mSamplingRates = samplingRates; in AudioPort()
124 public int[] samplingRates() { in samplingRates() method in AudioPort
DAudioMixPort.java34 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioMixPort() argument
36 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks, in AudioMixPort()
DAudioDevicePort.java40 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioDevicePort() argument
45 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
DAudioDeviceInfo.java173 return mPort.samplingRates(); in getSampleRates()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java955 if (!intArrayContains(audioSink.samplingRates(), sinkSamplingRate) in updateAudioConfigLocked()
956 && audioSink.samplingRates().length > 0) { in updateAudioConfigLocked()
957 sinkSamplingRate = audioSink.samplingRates()[0]; in updateAudioConfigLocked()
976 if (intArrayContains(mAudioSource.samplingRates(), sinkConfig.samplingRate())) { in updateAudioConfigLocked()
978 } else if (mAudioSource.samplingRates().length > 0) { in updateAudioConfigLocked()
980 sourceSamplingRate = mAudioSource.samplingRates()[0]; in updateAudioConfigLocked()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DSerializer.h71 static const char samplingRates[]; member
DAudioPort.h147 void pickSamplingRate(uint32_t &rate,const SampleRateVector &samplingRates) const;
/frameworks/av/media/libmedia/
DTypeConverter.cpp350 const std::string &samplingRates, const char *del) in samplingRatesFromString() argument
353 collectionFromString<SampleRateTraits>(samplingRates, samplingRateCollection, del); in samplingRatesFromString()
/frameworks/av/include/media/
DTypeConverter.h236 const std::string &samplingRates, const char *del = AudioParameter::valueListSeparator);
/frameworks/av/media/libmedia/include/media/
DTypeConverter.h236 const std::string &samplingRates, const char *del = AudioParameter::valueListSeparator);
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp5755 SampleRateVector samplingRates; in AudioPolicyManager() local
5768 samplingRates = samplingRatesFromString(reply.string()); in AudioPolicyManager()
5785 profiles.addProfileFromHal(new AudioProfile(format, channelMasks, samplingRates)); in AudioPolicyManager()