android.media.audiofx
Class AudioEffect
java.lang.Object
android.media.audiofx.AudioEffect
- Direct Known Subclasses:
- BassBoost, EnvironmentalReverb, Equalizer, PresetReverb, Virtualizer
public class AudioEffect
- extends Object
SUCCESS
public static final int SUCCESS
- See Also:
- Constant Field Values
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
ALREADY_EXISTS
public static final int ALREADY_EXISTS
- See Also:
- Constant Field Values
ERROR_NO_INIT
public static final int ERROR_NO_INIT
- See Also:
- Constant Field Values
ERROR_BAD_VALUE
public static final int ERROR_BAD_VALUE
- See Also:
- Constant Field Values
ERROR_INVALID_OPERATION
public static final int ERROR_INVALID_OPERATION
- See Also:
- Constant Field Values
ERROR_NO_MEMORY
public static final int ERROR_NO_MEMORY
- See Also:
- Constant Field Values
ERROR_DEAD_OBJECT
public static final int ERROR_DEAD_OBJECT
- See Also:
- Constant Field Values
EFFECT_INSERT
public static final String EFFECT_INSERT
- See Also:
- Constant Field Values
EFFECT_AUXILIARY
public static final String EFFECT_AUXILIARY
- See Also:
- Constant Field Values
ACTION_DISPLAY_AUDIO_EFFECT_CONTROL_PANEL
public static final String ACTION_DISPLAY_AUDIO_EFFECT_CONTROL_PANEL
- See Also:
- Constant Field Values
ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION
public static final String ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION
- See Also:
- Constant Field Values
ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION
public static final String ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION
- See Also:
- Constant Field Values
EXTRA_AUDIO_SESSION
public static final String EXTRA_AUDIO_SESSION
- See Also:
- Constant Field Values
EXTRA_PACKAGE_NAME
public static final String EXTRA_PACKAGE_NAME
- See Also:
- Constant Field Values
EXTRA_CONTENT_TYPE
public static final String EXTRA_CONTENT_TYPE
- See Also:
- Constant Field Values
CONTENT_TYPE_MUSIC
public static final int CONTENT_TYPE_MUSIC
- See Also:
- Constant Field Values
CONTENT_TYPE_MOVIE
public static final int CONTENT_TYPE_MOVIE
- See Also:
- Constant Field Values
CONTENT_TYPE_GAME
public static final int CONTENT_TYPE_GAME
- See Also:
- Constant Field Values
CONTENT_TYPE_VOICE
public static final int CONTENT_TYPE_VOICE
- See Also:
- Constant Field Values
release
public void release()
finalize
protected void finalize()
- Overrides:
finalize
in class Object
getDescriptor
public AudioEffect.Descriptor getDescriptor()
throws IllegalStateException
- Throws:
IllegalStateException
queryEffects
public static AudioEffect.Descriptor[] queryEffects()
setEnabled
public int setEnabled(boolean enabled)
throws IllegalStateException
- Throws:
IllegalStateException
getId
public int getId()
throws IllegalStateException
- Throws:
IllegalStateException
getEnabled
public boolean getEnabled()
throws IllegalStateException
- Throws:
IllegalStateException
hasControl
public boolean hasControl()
throws IllegalStateException
- Throws:
IllegalStateException
setEnableStatusListener
public void setEnableStatusListener(AudioEffect.OnEnableStatusChangeListener listener)
setControlStatusListener
public void setControlStatusListener(AudioEffect.OnControlStatusChangeListener listener)
Copyright © 2008-2010. All Rights Reserved.