Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioPort.java87 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioPort() argument
93 mSamplingRates = samplingRates; in AudioPort()
133 public int[] samplingRates() { in samplingRates() method in AudioPort
DAudioMixPort.java37 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioMixPort() argument
39 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks, in AudioMixPort()
DAudioDevicePort.java42 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioDevicePort() argument
47 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
DAudioDeviceInfo.java256 return mPort.samplingRates(); in getSampleRates()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp166 void AudioPort::pickSamplingRate(uint32_t &pickedRate,const SampleRateVector &samplingRates) const in pickSamplingRate()
174 for (size_t i = 0; i < samplingRates.size(); i ++) { in pickSamplingRate()
175 if ((samplingRates[i] < samplingRate) && (samplingRates[i] > 0)) { in pickSamplingRate()
176 samplingRate = samplingRates[i]; in pickSamplingRate()
192 for (size_t i = 0; i < samplingRates.size(); i ++) { in pickSamplingRate()
193 if ((samplingRates[i] > pickedRate) && (samplingRates[i] <= maxRate)) { in pickSamplingRate()
194 pickedRate = samplingRates[i]; in pickSamplingRate()
DSerializer.cpp105 static constexpr const char *samplingRates = "samplingRates"; member
400 std::string samplingRates = getXmlAttribute(cur, Attributes::samplingRates); in deserialize() local
406 samplingRatesFromString(samplingRates, ",")); in deserialize()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java952 if (!intArrayContains(audioSink.samplingRates(), sinkSamplingRate) in updateAudioConfigLocked()
953 && audioSink.samplingRates().length > 0) { in updateAudioConfigLocked()
954 sinkSamplingRate = audioSink.samplingRates()[0]; in updateAudioConfigLocked()
973 if (intArrayContains(mAudioSource.samplingRates(), sinkConfig.samplingRate())) { in updateAudioConfigLocked()
975 } else if (mAudioSource.samplingRates().length > 0) { in updateAudioConfigLocked()
977 sourceSamplingRate = mAudioSource.samplingRates()[0]; in updateAudioConfigLocked()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPort.h147 void pickSamplingRate(uint32_t &rate,const SampleRateVector &samplingRates) const;
/frameworks/av/media/libmedia/
DTypeConverter.cpp421 const std::string &samplingRates, const char *del) in samplingRatesFromString() argument
424 collectionFromString<SampleRateTraits>(samplingRates, samplingRateCollection, del); in samplingRatesFromString()
/frameworks/av/include/media/
DTypeConverter.h237 const std::string &samplingRates, const char *del = AudioParameter::valueListSeparator);
/frameworks/av/media/libmedia/include/media/
DTypeConverter.h237 const std::string &samplingRates, const char *del = AudioParameter::valueListSeparator);
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp6147 SampleRateVector samplingRates; in updateAudioProfiles() local
6160 samplingRates = samplingRatesFromString(reply.string()); in updateAudioProfiles()
6178 profiles.addProfileFromHal(new AudioProfile(format, channelMasks, samplingRates)); in updateAudioProfiles()