public class BassBoost extends AudioEffect
| Modifier and Type | Class and Description |
|---|---|
static interface |
BassBoost.OnParameterChangeListener |
static class |
BassBoost.Settings |
AudioEffect.Descriptor, AudioEffect.OnControlStatusChangeListener, AudioEffect.OnEnableStatusChangeListener| Modifier and Type | Field and Description |
|---|---|
static int |
PARAM_STRENGTH |
static int |
PARAM_STRENGTH_SUPPORTED |
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 |
|---|
BassBoost(int priority,
int audioSession) |
| Modifier and Type | Method and Description |
|---|---|
BassBoost.Settings |
getProperties() |
short |
getRoundedStrength() |
boolean |
getStrengthSupported() |
void |
setParameterListener(BassBoost.OnParameterChangeListener listener) |
void |
setProperties(BassBoost.Settings settings) |
void |
setStrength(short strength) |
finalize, getDescriptor, getEnabled, getId, hasControl, queryEffects, release, setControlStatusListener, setEnabled, setEnableStatusListenerpublic static final int PARAM_STRENGTH_SUPPORTED
public static final int PARAM_STRENGTH
public BassBoost(int priority,
int audioSession)
throws IllegalStateException,
IllegalArgumentException,
UnsupportedOperationException,
RuntimeException
public boolean getStrengthSupported()
public void setStrength(short strength)
throws IllegalStateException,
IllegalArgumentException,
UnsupportedOperationException
public short getRoundedStrength()
throws IllegalStateException,
IllegalArgumentException,
UnsupportedOperationException
public void setParameterListener(BassBoost.OnParameterChangeListener listener)
public BassBoost.Settings getProperties() throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException
public void setProperties(BassBoost.Settings settings) throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException
Copyright © 2008-2013. All Rights Reserved.