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()133 const sp<AudioProfile> &profileToAdd) in addDynamicAudioProfileAndSort() argument136 if (!profileToAdd->hasValidFormat()) { in addDynamicAudioProfileAndSort()140 if (!profileToAdd->hasValidChannels() && !profileToAdd->hasValidRates()) { in addDynamicAudioProfileAndSort()142 formats.push_back(profileToAdd->getFormat()); in addDynamicAudioProfileAndSort()[all …]
36 const sp<AudioProfile> &profileToAdd);