android.media.audiofx
Class PresetReverb

java.lang.Object
  extended by android.media.audiofx.AudioEffect
      extended by android.media.audiofx.PresetReverb

public class PresetReverb
extends AudioEffect


Nested Class Summary
static interface PresetReverb.OnParameterChangeListener
           
static class PresetReverb.Settings
           
 
Nested classes/interfaces inherited from class android.media.audiofx.AudioEffect
AudioEffect.Descriptor, AudioEffect.OnControlStatusChangeListener, AudioEffect.OnEnableStatusChangeListener
 
Field Summary
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
           
 
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)
           
 
Method Summary
 short getPreset()
           
 PresetReverb.Settings getProperties()
           
 void setParameterListener(PresetReverb.OnParameterChangeListener listener)
           
 void setPreset(short preset)
           
 void setProperties(PresetReverb.Settings settings)
           
 
Methods inherited from class android.media.audiofx.AudioEffect
finalize, getDescriptor, getEnabled, getId, hasControl, queryEffects, release, setControlStatusListener, setEnabled, setEnableStatusListener
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

PresetReverb

public PresetReverb(int priority,
                    int audioSession)
             throws IllegalArgumentException,
                    UnsupportedOperationException,
                    RuntimeException
Throws:
IllegalArgumentException
UnsupportedOperationException
RuntimeException
Method Detail

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.