Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfileVectorHelper.cpp71 sp<AudioProfile> profileToAdd = new AudioProfile( in setSampleRatesForAudioProfiles() local
73 profileToAdd->setDynamicFormat(true); // need to set to allow cleaning in setSampleRatesForAudioProfiles()
74 addAudioProfileAndSort(audioProfileVector, profileToAdd); in setSampleRatesForAudioProfiles()
91 sp<AudioProfile> profileToAdd = new AudioProfile(format, channelMaskSet, in setChannelsForAudioProfiles() local
93 profileToAdd->setDynamicFormat(true); // need to set to allow cleaning in setChannelsForAudioProfiles()
94 addAudioProfileAndSort(audioProfileVector, profileToAdd); in setChannelsForAudioProfiles()
123 const sp<AudioProfile> &profileToAdd) in addDynamicAudioProfileAndSort() argument
126 if (!profileToAdd->hasValidFormat()) { in addDynamicAudioProfileAndSort()
130 if (!profileToAdd->hasValidChannels() && !profileToAdd->hasValidRates()) { in addDynamicAudioProfileAndSort()
132 formats.push_back(profileToAdd->getFormat()); in addDynamicAudioProfileAndSort()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfileVectorHelper.h36 const sp<AudioProfile> &profileToAdd);