to top
Android APIs
public static class

AudioEffect.Descriptor

extends Object
java.lang.Object
   ↳ android.media.audiofx.AudioEffect.Descriptor

Class Overview

The effect descriptor contains information on a particular effect implemented in the audio framework:

  • type: UUID corresponding to the OpenSL ES interface implemented by this effect
  • uuid: UUID for this particular implementation
  • connectMode: EFFECT_INSERT, EFFECT_AUXILIARY or {at_link #EFFECT_PRE_PROCESSING}
  • name: human readable effect name
  • implementor: human readable effect implementor name
The method queryEffects() returns an array of Descriptors to facilitate effects enumeration.

Summary

Fields
public String connectMode Indicates if the effect is of insert category EFFECT_INSERT, auxiliary category EFFECT_AUXILIARY or pre processing category {at_link #EFFECT_PRE_PROCESSING}.
public String implementor Human readable effect implementor name
public String name Human readable effect name
public UUID type Indicates the generic type of the effect (Equalizer, Bass boost ...).
public UUID uuid Indicates the particular implementation of the effect in that type.
Public Constructors
AudioEffect.Descriptor()
AudioEffect.Descriptor(String type, String uuid, String connectMode, String name, String implementor)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public String connectMode

Added in API level 9

Indicates if the effect is of insert category EFFECT_INSERT, auxiliary category EFFECT_AUXILIARY or pre processing category {at_link #EFFECT_PRE_PROCESSING}. Insert effects (Typically an Equalizer) are applied to the entire audio source and usually not shared by several sources. Auxiliary effects (typically a reverberator) are applied to part of the signal (wet) and the effect output is added to the original signal (dry). Audio pre processing are applied to audio captured on a particular AudioRecord.

public String implementor

Added in API level 9

Human readable effect implementor name

public String name

Added in API level 9

Human readable effect name

public UUID type

Added in API level 9

Indicates the generic type of the effect (Equalizer, Bass boost ...). The UUID corresponds to the OpenSL ES Interface ID for this type of effect.

public UUID uuid

Added in API level 9

Indicates the particular implementation of the effect in that type. Several effects can have the same type but this uuid is unique to a given implementation.

Public Constructors

public AudioEffect.Descriptor ()

Added in API level 9

public AudioEffect.Descriptor (String type, String uuid, String connectMode, String name, String implementor)

Added in API level 9