Lines Matching defs:effect

65      *      NO_INIT    effect library failed to initialize
74 * Returns an effect descriptor during effect
78 * index: index of the queried effect.
79 * descriptor: address where the effect descriptor should be returned.
84 * NO_INIT effect library failed to initialize
86 * INVALID_OPERATION effect list has changed since last execution of queryNumberEffects()
89 * *descriptor: updated with effect descriptor
95 * Returns the descriptor for the specified effect uuid.
98 * uuid: pointer to effect uuid.
99 * descriptor: address where the effect descriptor should be returned.
104 * NO_INIT effect library failed to initialize
106 * NAME_NOT_FOUND no effect with this uuid found
109 * *descriptor updated with effect descriptor
121 * descriptors: address where the effect descriptors should be returned.
131 * NO_INIT effect library failed to initialize
156 /* Callback function notifying client application of a change in effect engine state or
158 * An effect engine can be shared by several applications but only one has the control
161 * retrieves the control of the effect engine. Loss of control happens
163 * the same effect type but with a higher priority. Control is returned when the
166 * control of the effect engine when the effect is enabled or disabled.
168 * control of the effect engine when an effect parameter is changed.
178 * - EVENT_ENABLE_STATUS_CHANGED: boolean indicating if effect is now enabled (true)
188 * AudioEffect is the base class for creating and controlling an effect engine from
189 * the application process. Creating an AudioEffect object will create the effect engine
192 * Reverb for instance) will either receive control of the effect engine or not, depending
194 * effect engine owner, the control will be transfered to the new application. Otherwise
196 * notified of changes in effect engine state or control ownership by the effect callback.
198 * check the creation status before trying to control the effect engine (see initCheck()).
199 * If the effect is to be applied to an AudioTrack or MediaPlayer only the application
216 * type: type of effect created: can be null if uuid is specified. This corresponds to
217 * the OpenSL ES interface implemented by this effect.
219 * uuid: Uuid of effect created: can be null if type is specified. This uuid corresponds to
220 * a particular implementation of an effect type.
221 * priority: requested priority for effect control: the priority level corresponds to the
226 * sessionID: audio session this effect is associated to.
227 * If equal to AUDIO_SESSION_OUTPUT_MIX, the effect will be global to
228 * the output mix. Otherwise, the effect will be applied to all players
230 * io: HAL audio output or input stream to which this effect must be attached. Leave at 0 for
258 * The effect engine is also destroyed if this AudioEffect was the last controlling
282 * - NO_ERROR: the effect engine is successfully created and the application has control.
283 * - ALREADY_EXISTS: the effect engine is successfully created but the application does not
285 * - NO_INIT: the effect creation failed.
291 /* Returns the unique effect Id for the controlled effect engine. This ID is unique
293 * the effect to an AudioTrack or MediaPlayer.
298 /* Returns a descriptor for the effect (see effect_descriptor_t in audio_effect.h).
302 /* Returns effect control priority of this AudioEffect object.
307 /* Enables or disables the effect engine.
314 * - INVALID_OPERATION: the application does not have control of the effect engine or the
315 * effect is already in the requested state.
327 * - INVALID_OPERATION: the application does not have control of the effect engine.
329 * - DEAD_OBJECT: the effect engine has been deleted.
344 * - INVALID_OPERATION: the application does not have control of the effect engine.
360 * - DEAD_OBJECT: the effect engine has been deleted.
374 * - DEAD_OBJECT: the effect engine has been deleted.
378 /* Sends a command and receives a response to/from effect engine.
379 * See audio_effect.h for details on effect command() function, valid command codes
409 int32_t mPriority; // priority for effect control
410 status_t mStatus; // effect status
414 effect_descriptor_t mDescriptor; // effect descriptor
415 int32_t mId; // system wide unique effect engine instance ID
437 EffectClient(AudioEffect *effect) : mEffect(effect){}
441 sp<AudioEffect> effect = mEffect.promote();
442 if (effect != 0) {
443 effect->controlStatusChanged(controlGranted);
447 sp<AudioEffect> effect = mEffect.promote();
448 if (effect != 0) {
449 effect->enableStatusChanged(enabled);
457 sp<AudioEffect> effect = mEffect.promote();
458 if (effect != 0) {
459 effect->commandExecuted(
466 sp<AudioEffect> effect = mEffect.promote();
467 if (effect != 0) {
468 effect->binderDied();