public class PresetReverb extends AudioEffect
| Modifier and Type | Class and Description |
|---|---|
static interface |
PresetReverb.OnParameterChangeListener |
static class |
PresetReverb.Settings |
AudioEffect.Descriptor, AudioEffect.OnControlStatusChangeListener, AudioEffect.OnEnableStatusChangeListener| Modifier and Type | Field and Description |
|---|---|
static int |
PARAM_PRESET |
static short |
PRESET_LARGEHALL |
static short |
PRESET_LARGEROOM |
static short |
PRESET_MEDIUMHALL |
static short |
PRESET_MEDIUMROOM |
static short |
PRESET_NONE |
static short |
PRESET_PLATE |
static short |
PRESET_SMALLROOM |
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 and Description |
|---|
PresetReverb(int priority,
int audioSession) |
| Modifier and Type | Method and Description |
|---|---|
short |
getPreset() |
PresetReverb.Settings |
getProperties() |
void |
setParameterListener(PresetReverb.OnParameterChangeListener listener) |
void |
setPreset(short preset) |
void |
setProperties(PresetReverb.Settings settings) |
finalize, getDescriptor, getEnabled, getId, hasControl, queryEffects, release, setControlStatusListener, setEnabled, setEnableStatusListenerpublic static final int PARAM_PRESET
public static final short PRESET_NONE
public static final short PRESET_SMALLROOM
public static final short PRESET_MEDIUMROOM
public static final short PRESET_LARGEROOM
public static final short PRESET_MEDIUMHALL
public static final short PRESET_LARGEHALL
public static final short PRESET_PLATE
public PresetReverb(int priority,
int audioSession)
throws IllegalArgumentException,
UnsupportedOperationException,
RuntimeException
public void setPreset(short preset)
throws IllegalStateException,
IllegalArgumentException,
UnsupportedOperationException
public short getPreset()
throws IllegalStateException,
IllegalArgumentException,
UnsupportedOperationException
public void setParameterListener(PresetReverb.OnParameterChangeListener listener)
public PresetReverb.Settings getProperties() throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException
public void setProperties(PresetReverb.Settings settings) throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException
Copyright © 2008-2013. All Rights Reserved.