android.media.audiofx
Class PresetReverb
java.lang.Object
android.media.audiofx.AudioEffect
android.media.audiofx.PresetReverb
public class PresetReverb
- extends AudioEffect
Fields inherited from class android.media.audiofx.AudioEffect |
ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION, ACTION_DISPLAY_AUDIO_EFFECT_CONTROL_PANEL, ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION, ALREADY_EXISTS, CONTENT_TYPE_GAME, CONTENT_TYPE_MOVIE, CONTENT_TYPE_MUSIC, CONTENT_TYPE_VOICE, EFFECT_AUXILIARY, EFFECT_INSERT, ERROR, ERROR_BAD_VALUE, ERROR_DEAD_OBJECT, ERROR_INVALID_OPERATION, ERROR_NO_INIT, ERROR_NO_MEMORY, EXTRA_AUDIO_SESSION, EXTRA_CONTENT_TYPE, EXTRA_PACKAGE_NAME, SUCCESS |
Constructor Summary |
PresetReverb(int priority,
int audioSession)
|
PARAM_PRESET
public static final int PARAM_PRESET
- See Also:
- Constant Field Values
PRESET_NONE
public static final short PRESET_NONE
- See Also:
- Constant Field Values
PRESET_SMALLROOM
public static final short PRESET_SMALLROOM
- See Also:
- Constant Field Values
PRESET_MEDIUMROOM
public static final short PRESET_MEDIUMROOM
- See Also:
- Constant Field Values
PRESET_LARGEROOM
public static final short PRESET_LARGEROOM
- See Also:
- Constant Field Values
PRESET_MEDIUMHALL
public static final short PRESET_MEDIUMHALL
- See Also:
- Constant Field Values
PRESET_LARGEHALL
public static final short PRESET_LARGEHALL
- See Also:
- Constant Field Values
PRESET_PLATE
public static final short PRESET_PLATE
- See Also:
- Constant Field Values
PresetReverb
public PresetReverb(int priority,
int audioSession)
throws IllegalArgumentException,
UnsupportedOperationException,
RuntimeException
- Throws:
IllegalArgumentException
UnsupportedOperationException
RuntimeException
setPreset
public void setPreset(short preset)
throws IllegalStateException,
IllegalArgumentException,
UnsupportedOperationException
- Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException
getPreset
public short getPreset()
throws IllegalStateException,
IllegalArgumentException,
UnsupportedOperationException
- Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException
setParameterListener
public void setParameterListener(PresetReverb.OnParameterChangeListener listener)
getProperties
public PresetReverb.Settings getProperties()
throws IllegalStateException,
IllegalArgumentException,
UnsupportedOperationException
- Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException
setProperties
public void setProperties(PresetReverb.Settings settings)
throws IllegalStateException,
IllegalArgumentException,
UnsupportedOperationException
- Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException
Copyright © 2008-2012. All Rights Reserved.