android.media.audiofx
Class EnvironmentalReverb
java.lang.Object
android.media.audiofx.AudioEffect
android.media.audiofx.EnvironmentalReverb
public class EnvironmentalReverb
- 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 |
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
EnvironmentalReverb
public EnvironmentalReverb(int priority,
int audioSession)
throws IllegalArgumentException,
UnsupportedOperationException,
RuntimeException
- Throws:
IllegalArgumentException
UnsupportedOperationException
RuntimeException
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.