IAudioEffectsManager 接口 (audioclient.h)

为关联的音频流的音频效果管道提供管理功能,允许应用程序获取当前效果列表、设置效果状态,并在效果列表或效果状态更改时注册通知。

继承

IAudioEffectsManager 接口继承自 IUnknown 接口。

方法

IAudioEffectsManager 接口包含以下方法。

 
IAudioEffectsManager::GetAudioEffects

获取关联音频流的音频效果的当前列表。
IAudioEffectsManager::RegisterAudioEffectsChangedNotificationCallback

注册 AudioEffectsChangedNotificationClient 接口。
IAudioEffectsManager::SetAudioEffectState

IAudioEffectsManager::SetAudioEffectState 方法 (audioclient.h) 设置指定音频效果的状态。
IAudioEffectsManager::UnregisterAudioEffectsChangedNotificationCallback

取消注册 IAudioEffectsChangedNotificationClient 接口。

注解

通过调用传入 IAudioEffectsManager 接口的接口指针的 IAudioClient::GetService 获取此接口的实例。

wil::com_ptr_nothrow<IAudioEffectsManager> audioEffectsManager;
RETURN_IF_FAILED(client->GetService(IID_PPV_ARGS(&audioEffectsManager)));

要求

要求
最低受支持的客户端 Windows 内部版本 22000
标头 audioclient.h