Home
last modified time | relevance | path

Searched refs:hasValidRates (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfileVectorHelper.cpp69 if (profile->hasValidRates()) { in setSampleRatesForAudioProfiles()
140 if (!profileToAdd->hasValidChannels() && !profileToAdd->hasValidRates()) { in addDynamicAudioProfileAndSort()
146 if (!profileToAdd->hasValidChannels() && profileToAdd->hasValidRates()) { in addDynamicAudioProfileAndSort()
151 if (profileToAdd->hasValidChannels() && !profileToAdd->hasValidRates()) { in addDynamicAudioProfileAndSort()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioProfile.h52 bool isValid() const { return hasValidFormat() && hasValidRates() && hasValidChannels(); } in isValid()
60 bool hasValidRates() const { return !mSamplingRates.empty(); } in hasValidRates() function