Lines Matching defs:effect

43  * <p>To apply the audio effect to a specific AudioTrack or MediaPlayer instance,
48 * <p>Creating an AudioEffect object will create the corresponding effect engine in the audio
49 * framework if no instance of the same effect type exists in the specified audio session.
52 * control of the effect engine or not depending on the priority parameter. If priority is higher
53 * than the priority used by the current effect engine owner, the control will be transfered to the
55 * application will be notified of changes in effect engine state or control ownership by the
67 // effect type UUIDs are taken from hardware/libhardware/include/hardware/audio_effect.h
70 * The following UUIDs define effect types corresponding to standard audio
77 * UUID for environmental reverb effect
83 * UUID for preset reverb effect
89 * UUID for equalizer effect
95 * UUID for bass boost effect
101 * UUID for virtualizer effect
129 * Null effect UUID. Used when the UUID for effect type of
199 * The effect descriptor contains information on a particular effect implemented in the
202 * <li>type: UUID corresponding to the OpenSL ES interface implemented by this effect</li>
206 * <li>name: human readable effect name</li>
207 * <li>implementor: human readable effect implementor name</li>
227 * Indicates the generic type of the effect (Equalizer, Bass boost ...). The UUID
228 * corresponds to the OpenSL ES Interface ID for this type of effect.
232 * Indicates the particular implementation of the effect in that type. Several effects
237 * Indicates if the effect is of insert category {@link #EFFECT_INSERT}, auxiliary
241 * (typically a reverberator) are applied to part of the signal (wet) and the effect output
247 * Human readable effect name
251 * Human readable effect implementor name
257 * Effect connection mode is insert. Specifying an audio session ID when creating the effect
258 * will insert this effect after all players in the same audio session.
264 * MediaPlayer or AudioTrack to be fed into this effect, they must be explicitely attached to
265 * this effect and a send level must be specified.
266 * <p>Use the effect ID returned by {@link #getId()} to designate this particular effect when
289 * System wide unique effect ID
303 * Listener for effect engine state change notifications.
309 * Listener for effect engine control ownership change notifications.
315 * Listener for effect engine control ownership change notifications.
337 * @param type type of effect engine created. See {@link #EFFECT_TYPE_ENV_REVERB},
341 * ES interface ID and the corresponsing effect is available on
342 * the platform. If an unspecified effect type is requested, the
345 * case only the uuid will be used to select the effect.
346 * @param uuid unique identifier of a particular effect implementation.
348 * implementation of an effect type. This parameter can be set to
350 * be used to select the effect.
352 * controlling the effect engine. As the same effect engine can
354 * how much the requesting application needs control of effect
358 * The effect will be attached to the MediaPlayer or AudioTrack in
388 "Cannot initialize effect engine for type: " + type
401 * release the effect engine when not in use as control can be returned to
417 * Get the effect descriptor.
456 * Checks if the device implements the specified effect type.
457 * @param type the requested effect type.
458 * @return true if the device implements the specified effect type, false otherwise.
476 * Enable or disable the effect.
477 * Creating an audio effect does not automatically apply this effect on the audio source. It
478 * creates the resources necessary to process this effect but the audio signal is still bypassed
479 * through the effect engine. Calling this method will make that the effect is actually applied
493 * Set effect parameter. The setParameter method is provided in several
497 * totally free. For standard effect defined by OpenSL ES, the parameter
516 * Set effect parameter. The parameter and its value are integers.
528 * Set effect parameter. The parameter is an integer and the value is a
542 * Set effect parameter. The parameter is an integer and the value is an
555 * Set effect parameter. The parameter is an array of 1 or 2 integers and
580 * Set effect parameter. The parameter is an array of 1 or 2 integers and
606 * Set effect parameter. The parameter is an array of 1 or 2 integers and
626 * Get effect parameter. The getParameter method is provided in several
647 * Get effect parameter. The parameter is an integer and the value is an
661 * Get effect parameter. The parameter is an integer and the value is an
692 * Get effect parameter. The parameter is an integer and the value is an
723 * Get effect parameter. The parameter is an array of 1 or 2 integers and
757 * Get effect parameter. The parameter is an array of 1 or 2 integers and
791 * Get effect parameter. The parameter is an array of 1 or 2 integers and
812 * Send a command to the effect engine. This method is intended to send
813 * proprietary commands to a particular effect implementation.
829 * Returns effect unique identifier. This system wide unique identifier can
830 * be used to attach this effect to a MediaPlayer or an AudioTrack when the
831 * effect is an auxiliary effect (Reverb)
833 * @return the effect identifier.
842 * Returns effect enabled state
844 * @return true if the effect is enabled, false otherwise.
853 * Checks if this AudioEffect object is controlling the effect engine.
855 * @return true if this instance has control of effect engine, false
868 * Sets the listener AudioEffect notifies when the effect engine is enabled
883 * Sets the listener AudioEffect notifies when the effect engine control is
932 * when a the enabled state of the effect engine was changed by the controlling application.
936 * Called on the listener to notify it that the effect engine has been
938 * @param effect the effect on which the interface is registered.
939 * @param enabled new effect state.
941 void onEnableStatusChange(AudioEffect effect, boolean enabled);
946 * when a the control of the effect engine is gained or lost by the application
950 * Called on the listener to notify it that the effect engine control
952 * @param effect the effect on which the interface is registered.
953 * @param controlGranted true if the application has been granted control of the effect
956 void onControlStatusChange(AudioEffect effect, boolean controlGranted);
961 * when a parameter is changed in the effect engine by the controlling application.
967 * @param effect the effect on which the interface is registered.
972 void onParameterChange(AudioEffect effect, int status, byte[] param,
982 * Intent to launch an audio effect control panel UI.
984 * applications and audio effect control application or services.
997 * {@link #ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION} intent, the effect changes will
1002 * customize both the UI layout and the default audio effect settings if none are already
1010 * Intent to signal to the effect control application or service that a new audio session
1014 * before starting playback to make sure that any audio effect settings previously selected
1016 * <p>The effect control application receiving this intent will look for previously stored
1018 * effect settings to the specified audio session.
1030 * Intent to signal to the effect control application or service that an audio session
1032 * <p>The effect control application receiving this intent will delete all effects on
1037 * and/or when exiting to free system resources consumed by audio effect engines.
1065 * <p>This information is used by the effect control application to customize UI and select
1066 * appropriate default effect settings. The content type is one of the following:
1174 AudioEffect effect = (AudioEffect) ((WeakReference) effect_ref).get();
1175 if (effect == null) {
1178 if (effect.mNativeEventHandler != null) {
1179 Message m = effect.mNativeEventHandler.obtainMessage(what, arg1,
1181 effect.mNativeEventHandler.sendMessage(m);