Most visited

Recently visited

Added in API level 9

AudioEffect.Descriptor

public static class AudioEffect.Descriptor
extends Object

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


效果描述符包含音频框架中实现的特定效果的信息:

The method queryEffects() returns an array of Descriptors to facilitate effects enumeration.

Summary

Fields

public String connectMode

指示效果是插入类别 EFFECT_INSERT还是辅助类别 EFFECT_AUXILIARY

public String implementor

人类可读的效果实现者名称

public String name

人类可读的效果名称

public UUID type

指示效果的通用类型(均衡器,低音增强...)。

public UUID uuid

指示该类型中效果的特定实现。

Public constructors

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

Inherited methods

From class java.lang.Object

Fields

connectMode

Added in API level 9
String connectMode

指示效果是插入类别EFFECT_INSERT还是辅助类别EFFECT_AUXILIARY 插入效果(通常为Equalizer )应用于整个音频源,通常不会被多个来源共享。 辅助效果(通常是混响器)被应用到信号的一部分(湿),效果输出被添加到原始信号(干)。 音频预处理应用于特定AudioRecord上捕获的音频。

implementor

Added in API level 9
String implementor

人类可读的效果实现者名称

name

Added in API level 9
String name

人类可读的效果名称

type

Added in API level 9
UUID type

指示效果的通用类型(均衡器,低音增强...)。 一个EFFECT_TYPE_AECEFFECT_TYPE_AGCEFFECT_TYPE_BASS_BOOSTEFFECT_TYPE_ENV_REVERBEFFECT_TYPE_EQUALIZEREFFECT_TYPE_NSEFFECT_TYPE_PRESET_REVERB或者EFFECT_TYPE_VIRTUALIZER
对于混响,低音增强,EQ和虚拟器,UUID对应于OpenSL ES接口ID。

uuid

Added in API level 9
UUID uuid

指示该类型中效果的特定实现。 几个效果可以有相同的类型,但这个uuid对于给定的实现是唯一的。

Public constructors

AudioEffect.Descriptor

Added in API level 9
AudioEffect.Descriptor ()

AudioEffect.Descriptor

Added in API level 9
AudioEffect.Descriptor (String type, 
                String uuid, 
                String connectMode, 
                String name, 
                String implementor)

Parameters
type String: 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 String: UUID for this particular implementation
connectMode String: EFFECT_INSERT or EFFECT_AUXILIARY
name String: human readable effect name
implementor String: human readable effect implementor name

Hooray!