Home | History | Annotate | Download | only in service

Lines Matching defs:source

2  * Copyright (C) 2014 The Android Open Source Project
94 // create audio pre processors according to input source
101 ALOGV("addInputEffects(): no processing needs to be attached to this source");
125 ALOGW("addInputEffects(): failed to create Fx %s on source %d",
133 ALOGV("addInputEffects(): added Fx %s on source: %d",
324 audio_source_t source,
333 if (source < AUDIO_SOURCE_DEFAULT ||
334 (source > AUDIO_SOURCE_MAX &&
335 source != AUDIO_SOURCE_HOTWORD &&
336 source != AUDIO_SOURCE_FM_TUNER &&
337 source != AUDIO_SOURCE_ECHO_REFERENCE)) {
338 ALOGE("addSourceDefaultEffect(): Unsupported source type %d", source);
351 // Only pre-processing effects can be added dynamically as source defaults.
354 "as a source default effect.");
360 // Find the EffectDescVector for the given source type, or create a new one if necessary.
361 ssize_t index = mInputSources.indexOfKey(source);
364 // No effects for this source type yet.
366 mInputSources.add(source, desc);
383 // This requires tracking the source type of each session id in addition to what is
465 // Check each source type.
468 // Check each effect for each source.
540 // returns the audio_source_t enum corresponding to the input source name or
547 ALOGV("inputSourceNameToEnum found source %s %d", name, i);
815 audio_source_t source = inputSourceNameToEnum(node->name);
816 if (source == AUDIO_SOURCE_CNT) {
817 ALOGW("loadInputSources() invalid input source %s", node->name);
821 ALOGV("loadInputSources() loading input source %s", node->name);
827 mInputSources.add(source, desc);