android.media.audiofx
Class EnvironmentalReverb

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

public class EnvironmentalReverb
extends AudioEffect


Nested Class Summary
static interface EnvironmentalReverb.OnParameterChangeListener
           
static class EnvironmentalReverb.Settings
           
 
Nested classes/interfaces inherited from class android.media.audiofx.AudioEffect
AudioEffect.Descriptor, AudioEffect.OnControlStatusChangeListener, AudioEffect.OnEnableStatusChangeListener
 
Field Summary
static int PARAM_DECAY_HF_RATIO
           
static int PARAM_DECAY_TIME
           
static int PARAM_DENSITY
           
static int PARAM_DIFFUSION
           
static int PARAM_REFLECTIONS_DELAY
           
static int PARAM_REFLECTIONS_LEVEL
           
static int PARAM_REVERB_DELAY
           
static int PARAM_REVERB_LEVEL
           
static int PARAM_ROOM_HF_LEVEL
           
static int PARAM_ROOM_LEVEL
           
 
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
EnvironmentalReverb(int priority, int audioSession)
           
 
Method Summary
 short getDecayHFRatio()
           
 int getDecayTime()
           
 short getDensity()
           
 short getDiffusion()
           
 EnvironmentalReverb.Settings getProperties()
           
 int getReflectionsDelay()
           
 short getReflectionsLevel()
           
 int getReverbDelay()
           
 short getReverbLevel()
           
 short getRoomHFLevel()
           
 short getRoomLevel()
           
 void setDecayHFRatio(short decayHFRatio)
           
 void setDecayTime(int decayTime)
           
 void setDensity(short density)
           
 void setDiffusion(short diffusion)
           
 void setParameterListener(EnvironmentalReverb.OnParameterChangeListener listener)
           
 void setProperties(EnvironmentalReverb.Settings settings)
           
 void setReflectionsDelay(int reflectionsDelay)
           
 void setReflectionsLevel(short reflectionsLevel)
           
 void setReverbDelay(int reverbDelay)
           
 void setReverbLevel(short reverbLevel)
           
 void setRoomHFLevel(short roomHF)
           
 void setRoomLevel(short room)
           
 
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_ROOM_LEVEL

public static final int PARAM_ROOM_LEVEL
See Also:
Constant Field Values

PARAM_ROOM_HF_LEVEL

public static final int PARAM_ROOM_HF_LEVEL
See Also:
Constant Field Values

PARAM_DECAY_TIME

public static final int PARAM_DECAY_TIME
See Also:
Constant Field Values

PARAM_DECAY_HF_RATIO

public static final int PARAM_DECAY_HF_RATIO
See Also:
Constant Field Values

PARAM_REFLECTIONS_LEVEL

public static final int PARAM_REFLECTIONS_LEVEL
See Also:
Constant Field Values

PARAM_REFLECTIONS_DELAY

public static final int PARAM_REFLECTIONS_DELAY
See Also:
Constant Field Values

PARAM_REVERB_LEVEL

public static final int PARAM_REVERB_LEVEL
See Also:
Constant Field Values

PARAM_REVERB_DELAY

public static final int PARAM_REVERB_DELAY
See Also:
Constant Field Values

PARAM_DIFFUSION

public static final int PARAM_DIFFUSION
See Also:
Constant Field Values

PARAM_DENSITY

public static final int PARAM_DENSITY
See Also:
Constant Field Values
Constructor Detail

EnvironmentalReverb

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

setRoomLevel

public void setRoomLevel(short room)
                  throws IllegalStateException,
                         IllegalArgumentException,
                         UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

getRoomLevel

public short getRoomLevel()
                   throws IllegalStateException,
                          IllegalArgumentException,
                          UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

setRoomHFLevel

public void setRoomHFLevel(short roomHF)
                    throws IllegalStateException,
                           IllegalArgumentException,
                           UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

getRoomHFLevel

public short getRoomHFLevel()
                     throws IllegalStateException,
                            IllegalArgumentException,
                            UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

setDecayTime

public void setDecayTime(int decayTime)
                  throws IllegalStateException,
                         IllegalArgumentException,
                         UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

getDecayTime

public int getDecayTime()
                 throws IllegalStateException,
                        IllegalArgumentException,
                        UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

setDecayHFRatio

public void setDecayHFRatio(short decayHFRatio)
                     throws IllegalStateException,
                            IllegalArgumentException,
                            UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

getDecayHFRatio

public short getDecayHFRatio()
                      throws IllegalStateException,
                             IllegalArgumentException,
                             UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

setReflectionsLevel

public void setReflectionsLevel(short reflectionsLevel)
                         throws IllegalStateException,
                                IllegalArgumentException,
                                UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

getReflectionsLevel

public short getReflectionsLevel()
                          throws IllegalStateException,
                                 IllegalArgumentException,
                                 UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

setReflectionsDelay

public void setReflectionsDelay(int reflectionsDelay)
                         throws IllegalStateException,
                                IllegalArgumentException,
                                UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

getReflectionsDelay

public int getReflectionsDelay()
                        throws IllegalStateException,
                               IllegalArgumentException,
                               UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

setReverbLevel

public void setReverbLevel(short reverbLevel)
                    throws IllegalStateException,
                           IllegalArgumentException,
                           UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

getReverbLevel

public short getReverbLevel()
                     throws IllegalStateException,
                            IllegalArgumentException,
                            UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

setReverbDelay

public void setReverbDelay(int reverbDelay)
                    throws IllegalStateException,
                           IllegalArgumentException,
                           UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

getReverbDelay

public int getReverbDelay()
                   throws IllegalStateException,
                          IllegalArgumentException,
                          UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

setDiffusion

public void setDiffusion(short diffusion)
                  throws IllegalStateException,
                         IllegalArgumentException,
                         UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

getDiffusion

public short getDiffusion()
                   throws IllegalStateException,
                          IllegalArgumentException,
                          UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

setDensity

public void setDensity(short density)
                throws IllegalStateException,
                       IllegalArgumentException,
                       UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

getDensity

public short getDensity()
                 throws IllegalStateException,
                        IllegalArgumentException,
                        UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

setParameterListener

public void setParameterListener(EnvironmentalReverb.OnParameterChangeListener listener)

getProperties

public EnvironmentalReverb.Settings getProperties()
                                           throws IllegalStateException,
                                                  IllegalArgumentException,
                                                  UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException

setProperties

public void setProperties(EnvironmentalReverb.Settings settings)
                   throws IllegalStateException,
                          IllegalArgumentException,
                          UnsupportedOperationException
Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException


Copyright © 2008-2012. All Rights Reserved.