Searched refs:profileToAdd (Results 1 – 2 of 2) sorted by relevance
71 sp<AudioProfile> profileToAdd = new AudioProfile( in setSampleRatesForAudioProfiles() local73 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() local93 profileToAdd->setDynamicFormat(true); // need to set to allow cleaning in setChannelsForAudioProfiles()94 addAudioProfileAndSort(audioProfileVector, profileToAdd); in setChannelsForAudioProfiles()123 const sp<AudioProfile> &profileToAdd) in addDynamicAudioProfileAndSort() argument126 if (!profileToAdd->hasValidFormat()) { in addDynamicAudioProfileAndSort()130 if (!profileToAdd->hasValidChannels() && !profileToAdd->hasValidRates()) { in addDynamicAudioProfileAndSort()132 formats.push_back(profileToAdd->getFormat()); in addDynamicAudioProfileAndSort()[all …]
36 const sp<AudioProfile> &profileToAdd);