Home | History | Annotate | Download | only in service

Lines Matching full:effects

109         Vector <EffectDesc *> effects = mInputSources.valueAt(index)->mEffects;
110 for (size_t i = 0; i < effects.size(); i++) {
111 EffectDesc *effect = effects[i];
150 ALOGV("releaseInputEffects(): all effects released");
172 Vector< sp<AudioEffect> > effects = mInputs.valueAt(index)->mEffects;
174 for (size_t i = 0; i < effects.size(); i++) {
175 effect_descriptor_t desc = effects[i]->descriptor();
180 if (effects.size() > *count) {
183 *count = effects.size();
205 Vector< sp<AudioEffect> > effects = mOutputSessions.valueAt(index)->mEffects;
207 for (size_t i = 0; i < effects.size(); i++) {
208 effect_descriptor_t desc = effects[i]->descriptor();
213 if (effects.size() > *count) {
216 *count = effects.size();
254 Vector <EffectDesc *> effects = mOutputStreams.valueAt(index)->mEffects;
255 for (size_t i = 0; i < effects.size(); i++) {
256 EffectDesc *effect = effects[i];
557 const Vector <EffectDesc *>& effects)
568 for (i = 0; i < effects.size(); i++) {
569 if (strncmp(effects[i]->mName, node->name, EFFECT_STRING_LEN_MAX) == 0) {
574 if (i == effects.size()) {
579 EffectDesc *effect = new EffectDesc(*effects[i]); // deep copy
587 ALOGW("loadEffectConfig() no valid effects found in config %s", root->name);
595 const Vector <EffectDesc *>& effects)
610 EffectDescVector *desc = loadEffectConfig(node, effects);
622 const Vector <EffectDesc *>& effects)
637 EffectDescVector *desc = loadEffectConfig(node, effects);
662 status_t AudioPolicyEffects::loadEffects(cnode *root, Vector <EffectDesc *>& effects)
676 effects.add(effect);
694 Vector <EffectDesc *> effects;
695 loadEffects(root, effects);
696 loadInputEffectConfigurations(root, effects);
697 loadStreamEffectConfigurations(root, effects);
699 for (size_t i = 0; i < effects.size(); i++) {
700 delete effects[i];