android.media.audiofx
Class Virtualizer
java.lang.Object
android.media.audiofx.AudioEffect
android.media.audiofx.Virtualizer
public class Virtualizer
- 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 |
Virtualizer(int priority,
int audioSession)
|
PARAM_STRENGTH_SUPPORTED
public static final int PARAM_STRENGTH_SUPPORTED
- See Also:
- Constant Field Values
PARAM_STRENGTH
public static final int PARAM_STRENGTH
- See Also:
- Constant Field Values
Virtualizer
public Virtualizer(int priority,
int audioSession)
throws IllegalStateException,
IllegalArgumentException,
UnsupportedOperationException,
RuntimeException
- Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException
RuntimeException
getStrengthSupported
public boolean getStrengthSupported()
setStrength
public void setStrength(short strength)
throws IllegalStateException,
IllegalArgumentException,
UnsupportedOperationException
- Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException
getRoundedStrength
public short getRoundedStrength()
throws IllegalStateException,
IllegalArgumentException,
UnsupportedOperationException
- Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException
setParameterListener
public void setParameterListener(Virtualizer.OnParameterChangeListener listener)
getProperties
public Virtualizer.Settings getProperties()
throws IllegalStateException,
IllegalArgumentException,
UnsupportedOperationException
- Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException
setProperties
public void setProperties(Virtualizer.Settings settings)
throws IllegalStateException,
IllegalArgumentException,
UnsupportedOperationException
- Throws:
IllegalStateException
IllegalArgumentException
UnsupportedOperationException
Copyright © 2008-2012. All Rights Reserved.