允许在游戏正在运行的时候动态更改 Mastering Suite。用户可添加、移除或替换 Mastering Suite ShareSet。不过,必须满足以下条件:
已经注册插件:可在游戏代码中注册 Mastering Suite 插件。有关详细信息,请参阅集成详情 – 插件。
已经加载 ShareSet:必须在加载的 SoundBank 中创建 Mastering Suite ShareSet。若被 SoundBank 中的另一条目引用或将 ShareSet 以显式方式添加到了 SoundBank 中,则会将 Mastering Suite ShareSet 包含在 SoundBank 中。
若要更改 Mastering Suite ShareSet,代码必须调用 SDK 函数 SetOutputDeviceEffect。
为了避免出现毛刺噪声,强烈建议不要在添加/移除了 Mastering Suite 的 Output Device 上播放声音。