Lines Matching defs:effect

68 // There is support for > 2 channel tracks down-mixed to 2 channel output via a down-mix effect.
593 void disconnectEffect(const sp< EffectModule>& effect,
600 // effect
605 // get effect chain corresponding to session Id.
609 // add an effect chain to the chain list (mEffectChains)
611 // remove an effect chain from the chain list (mEffectChains)
613 // lock all effect chains Mutexes. Must be called before releasing the
618 // unlock effect chains after process
620 // set audio mode to all effect chains
622 // get effect module with corresponding ID on specified audio session
625 // add and effect module. Also creates the effect chain is none exists for
627 status_t addEffect_l(const sp< EffectModule>& effect);
628 // remove and effect module. Also removes the effect chain is this was the last
629 // effect
630 void removeEffect_l(const sp< EffectModule>& effect);
631 // detach all tracks connected to an auxiliary effect
640 // suspend or restore effect according to the type of effect passed. a NULL
645 // check if some effects must be suspended/restored when an effect is enabled
647 void checkSuspendOnEffectEnabled(const sp<EffectModule>& effect,
650 void checkSuspendOnEffectEnabled_l(const sp<EffectModule>& effect,
662 // entry describing an effect being suspended in mSuspendedSessions keyed vector
668 effect_uuid_t mType; // effect type UUID
678 // updated mSuspendedSessions when an effect suspended or restored
682 // check if some effects must be suspended when an effect chain is added
1389 // allocate an audio_io_handle_t, session ID, or effect ID
1601 // The EffectModule class is a wrapper object controlling the effect engine implementation
1602 // in the effect library. It prevents concurrent calls to process() and command() functions
1604 // to all client applications using this effect and notifies applications of effect state,
1606 // reset, enable, disable commands to effect engine and provide volume
1608 // When controlling an auxiliary effect, the EffectModule also provides an input buffer used by
1693 // Maximum time allocated to effect engines to complete the turn off sequence
1704 wp<EffectChain> mChain; // parent effect chain
1707 const effect_descriptor_t mDescriptor;// effect descriptor received from effect engine
1713 // First handle in mHandles has highest priority and controls the effect module
1714 uint32_t mMaxDisableWaitCnt; // maximum grace period before forcing an effect off after
1717 bool mSuspended; // effect is suspended: temporarily disabled by framework
1721 // to receive parameter updates, keeps track of effect control
1724 // an effect module.
1729 EffectHandle(const sp<EffectModule>& effect,
1752 // Give or take control of effect module
1755 // - enabled: state of the effect when control is passed
1769 sp<EffectModule> effect() const { return mEffect; }
1786 int mPriority; // client application priority to control the effect
1787 bool mHasControl; // true if this handle is controlling the effect
1788 bool mEnabled; // cached enable state: needed when the effect is
1798 // are insert only. The EffectChain maintains an ordered list of effect module, the order corresponding
1799 // in the effect process order. When attached to a track (session ID != 0), it also provide it's own
1811 // minimum duration during which we force calling effect process when last track on
1812 // a session is stopped or removed to allow effect tail to be rendered
1865 // suspend effect of the given type
1870 // check if effects should be suspend or restored when a given effect is enable or disabled
1871 void checkSuspendOnEffectEnabled(const sp<EffectModule>& effect,
1892 // get a list of effect modules to suspend when an effect of the type
1896 // get an effect module if it is currently enable
1898 // true if the effect whose descriptor is passed can be suspended
1899 // OEMs can modify the rules implemented in this method to exclude specific effect
1906 Mutex mLock; // mutex protecting effect list
1907 Vector< sp<EffectModule> > mEffects; // list of effect modules
1916 int32_t mTailBufferCount; // current effect tail buffer count
1917 int32_t mMaxTailBuffers; // maximum effect tail buffers
1919 int mVolumeCtrlIdx; // index of insert effect having control over volume
1924 uint32_t mStrategy; // strategy for this effect chain
1926 // Use effect type UUID timelow field as key. There is no real risk of identical
1927 // timeLow fields among effect type UUIDs.