Lines Matching refs:EffectModule

52 //  EffectModule implementation
56 #define LOG_TAG "AudioFlinger::EffectModule"
58 AudioFlinger::EffectModule::EffectModule(ThreadBase *thread,
97 AudioFlinger::EffectModule::~EffectModule()
107 status_t AudioFlinger::EffectModule::addHandle(EffectHandle *handle)
146 size_t AudioFlinger::EffectModule::removeHandle(EffectHandle *handle)
180 // must be called with EffectModule::mLock held
181 AudioFlinger::EffectHandle *AudioFlinger::EffectModule::controlHandle_l()
194 size_t AudioFlinger::EffectModule::disconnect(EffectHandle *handle, bool unpinIfLast)
197 // keep a strong reference on this EffectModule to avoid calling the
199 sp<EffectModule> keep(this);
219 void AudioFlinger::EffectModule::updateState() {
261 void AudioFlinger::EffectModule::process()
310 void AudioFlinger::EffectModule::reset_l()
318 status_t AudioFlinger::EffectModule::configure()
423 status_t AudioFlinger::EffectModule::init()
443 void AudioFlinger::EffectModule::addEffectToHal_l()
457 status_t AudioFlinger::EffectModule::start()
463 status_t AudioFlinger::EffectModule::start_l()
492 status_t AudioFlinger::EffectModule::stop()
498 status_t AudioFlinger::EffectModule::stop_l()
523 status_t AudioFlinger::EffectModule::remove_effect_from_hal_l()
538 status_t AudioFlinger::EffectModule::command(uint32_t cmdCode,
571 status_t AudioFlinger::EffectModule::setEnabled(bool enabled)
577 // must be called with EffectModule::mLock held
578 status_t AudioFlinger::EffectModule::setEnabled_l(bool enabled)
624 bool AudioFlinger::EffectModule::isEnabled() const
640 bool AudioFlinger::EffectModule::isProcessEnabled() const
660 status_t AudioFlinger::EffectModule::setVolume(uint32_t *left, uint32_t *right, bool controller)
695 status_t AudioFlinger::EffectModule::setDevice(audio_devices_t device)
721 status_t AudioFlinger::EffectModule::setMode(audio_mode_t mode)
744 status_t AudioFlinger::EffectModule::setAudioSource(audio_source_t source)
763 void AudioFlinger::EffectModule::setSuspended(bool suspended)
769 bool AudioFlinger::EffectModule::suspended() const
775 bool AudioFlinger::EffectModule::purgeHandles()
791 status_t AudioFlinger::EffectModule::setOffloaded(bool offloaded, audio_io_handle_t io)
825 bool AudioFlinger::EffectModule::isOffloaded() const
936 void AudioFlinger::EffectModule::dump(int fd, const Vector<String16>& args __unused)
1029 AudioFlinger::EffectHandle::EffectHandle(const sp<EffectModule>& effect,
1358 sp<AudioFlinger::EffectModule> AudioFlinger::EffectChain::getEffectFromDesc_l(
1372 sp<AudioFlinger::EffectModule> AudioFlinger::EffectChain::getEffectFromId_l(int id)
1386 sp<AudioFlinger::EffectModule> AudioFlinger::EffectChain::getEffectFromType_l(
1467 status_t AudioFlinger::EffectChain::addEffect_l(const sp<EffectModule>& effect)
1487 // accumulation stage. Saturation is done in EffectModule::process() before
1583 size_t AudioFlinger::EffectChain::removeEffect_l(const sp<EffectModule>& effect)
1594 if (mEffects[i]->state() == EffectModule::ACTIVE ||
1595 mEffects[i]->state() == EffectModule::STOPPING) {
1708 if (mEffects[i]->state() == EffectModule::ACTIVE ||
1709 mEffects[i]->state() == EffectModule::STOPPING) {
1741 sp<EffectModule> effect = mEffects[i];
1771 sp<EffectModule> effect = getEffectIfEnabled(type);
1790 sp<EffectModule> effect = desc->mEffect.promote();
1822 Vector< sp<EffectModule> > effects;
1876 Vector< sp<AudioFlinger::EffectModule> > &effects)
1886 sp<AudioFlinger::EffectModule> AudioFlinger::EffectChain::getEffectIfEnabled(
1889 sp<EffectModule> effect = getEffectFromType_l(type);
1893 void AudioFlinger::EffectChain::checkSuspendOnEffectEnabled(const sp<EffectModule>& effect,