android.media.audiofx
Class BassBoost

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

public class BassBoost
extends AudioEffect


Nested Class Summary
static interface BassBoost.OnParameterChangeListener
           
static class BassBoost.Settings
           
 
Nested classes/interfaces inherited from class android.media.audiofx.AudioEffect
AudioEffect.Descriptor, AudioEffect.OnControlStatusChangeListener, AudioEffect.OnEnableStatusChangeListener
 
Field Summary
static int PARAM_STRENGTH
           
static int PARAM_STRENGTH_SUPPORTED
           
 
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
BassBoost(int priority, int audioSession)
           
 
Method Summary
 BassBoost.Settings getProperties()
           
 short getRoundedStrength()
           
 boolean getStrengthSupported()
           
 void setParameterListener(BassBoost.OnParameterChangeListener listener)
           
 void setProperties(BassBoost.Settings settings)
           
 void setStrength(short strength)
           
 
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_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
Constructor Detail

BassBoost

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

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(BassBoost.OnParameterChangeListener listener)

getProperties

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

setProperties

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


Copyright © 2008-2012. All Rights Reserved.