android.media.audiofx
Class Virtualizer

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

public class Virtualizer
extends AudioEffect


Nested Class Summary
static interface Virtualizer.OnParameterChangeListener
           
static class Virtualizer.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
Virtualizer(int priority, int audioSession)
           
 
Method Summary
 Virtualizer.Settings getProperties()
           
 short getRoundedStrength()
           
 boolean getStrengthSupported()
           
 void setParameterListener(Virtualizer.OnParameterChangeListener listener)
           
 void setProperties(Virtualizer.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

Virtualizer

public Virtualizer(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(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.