OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:profileToAdd
(Results
1 - 2
of
2
) sorted by null
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
AudioProfile.h
153
ssize_t addProfileFromHal(const sp<AudioProfile> &
profileToAdd
)
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
->hasValidChannels() && !profileToAdd->hasValidRates())
[
all
...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
ConfigParsingUtils.cpp
192
sp<AudioProfile>
profileToAdd
= new AudioProfile(gDynamicFormat, channels, sampleRates);
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);
202
profileToAdd
->setDynamicFormat(formats[i] == gDynamicFormat);
203
profileToAdd
->setDynamicChannels(channels.isEmpty());
204
profileToAdd
->setDynamicRate(sampleRates.isEmpty());
205
audioProfiles.add(
profileToAdd
);
[
all
...]
Completed in 67 milliseconds