public interface AudioEffectManager
限定符和类型 | 方法和说明 |
---|---|
void |
attachAudioEffect(int audioSessionId)
对指定的
audio session id 应用音频特效。 |
void |
detachAudioEffect()
移除当前应用的音频特效。
|
void |
init(android.os.Bundle config)
初始化音频特效的配置。
|
void |
release()
释放音频特效。
|
void |
updateConfig(android.os.Bundle config)
更新音频特效的配置。
|
void init(@NonNull android.os.Bundle config)
config
- 音频特效的配置void updateConfig(@NonNull android.os.Bundle config)
config
- 新的音频特效配置void attachAudioEffect(int audioSessionId)
audio session id
应用音频特效。audioSessionId
- 要音乐音频特效的 audio session id
void detachAudioEffect()
void release()
你可以在该方法中释放所有不再需要的资源。