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:

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 or auxiliary category EFFECT_AUXILIARY.
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 or auxiliary category EFFECT_AUXILIARY. 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 ...). One of EFFECT_TYPE_AEC, EFFECT_TYPE_AGC, EFFECT_TYPE_BASS_BOOST, EFFECT_TYPE_ENV_REVERB, EFFECT_TYPE_EQUALIZER, EFFECT_TYPE_NS, EFFECT_TYPE_PRESET_REVERB or EFFECT_TYPE_VIRTUALIZER.
For reverberation, bass boost, EQ and virtualizer, the UUID corresponds to the OpenSL ES Interface ID.

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

Parameters
type UUID identifying the effect type. May be one of: EFFECT_TYPE_AEC, EFFECT_TYPE_AGC, EFFECT_TYPE_BASS_BOOST, EFFECT_TYPE_ENV_REVERB, EFFECT_TYPE_EQUALIZER, EFFECT_TYPE_NS, EFFECT_TYPE_PRESET_REVERB, EFFECT_TYPE_VIRTUALIZER.
uuid UUID for this particular implementation
connectMode EFFECT_INSERT or EFFECT_AUXILIARY
name human readable effect name
implementor human readable effect implementor name