Searched defs:profileToAdd (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioProfile.h153 ssize_t addProfileFromHal(const sp<AudioProfile> &profileToAdd) argument
156 if (!profileToAdd->hasValidFormat()) {
159 if (!profileToAdd->hasValidChannels() && !profileToAdd->hasValidRates()) {
161 formats.add(profileToAdd->getFormat());
165 if (!profileToAdd->hasValidChannels() && profileToAdd->hasValidRates()) {
166 setSampleRatesFor(profileToAdd->getSampleRates(), profileToAdd->getFormat());
169 if (profileToAdd
306 sp<AudioProfile> profileToAdd = new AudioProfile(format, profile->getChannels(), local
325 sp<AudioProfile> profileToAdd = new AudioProfile(format, channelMasks, local
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DConfigParsingUtils.cpp192 sp<AudioProfile> profileToAdd = new AudioProfile(gDynamicFormat, channels, sampleRates); local
193 profileToAdd->setDynamicFormat(true);
194 profileToAdd->setDynamicChannels(channels.isEmpty());
195 profileToAdd->setDynamicRate(sampleRates.isEmpty());
196 audioProfiles.add(profileToAdd);
201 sp<AudioProfile> profileToAdd = new AudioProfile(formats[i], channels, sampleRates); local
202 profileToAdd->setDynamicFormat(formats[i] == gDynamicFormat);
203 profileToAdd->setDynamicChannels(channels.isEmpty());
204 profileToAdd->setDynamicRate(sampleRates.isEmpty());
205 audioProfiles.add(profileToAdd);
[all...]

Completed in 279 milliseconds