版本

menu_open
警告:系统已根据您所用大版本 (2023.1.7.8574) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。

External Source(外部源)

External Source is an integrated source plug-in that allows the game to determine which audio file is associated with a sound object each time the object is played. This can simplify your project. For example, if you had many lines of dialogue, you would otherwise need to create a sound object and Event for each of them. The audio files can be streamed or loaded into memory as they are needed. Either method saves memory.

This plug-in requires setup both in Wwise Authoring and in the Wwise SDK. For sample implementations, see Integrating External Sources in the SDK documentation. Implement External Source in Wwise Authoring as follows:

  1. On a Sound object, add an External Source:

    1. Open the Contents Editor of the Sound object. 请参阅 “Contents Editor:External Source”一节

    2. Click Add Source, and select External Source.

    3. If multiple SFXs are present, select the one to use in the Use column.

  2. Create a play Event with the Sound object as its Target.

  3. Add the Event to a SoundBank, unless Enable Auto-Defined SoundBanks is enabled in the “SoundBanks 选项卡”一节.

  4. Add the target sound files to the External Sources List file. This is an XML file containing paths to your input files and their conversion settings. For an example file, see Integrating External Sources. WAV files must be converted to WEM to be used by the Sound Engine at runtime. The conversion can be done either when banks are generated, or by the audio programmer from the Wwise command line.

  5. In Project Settings, set the location of the External Sources List file, and the directory for the converted output files. 请参阅 “为 External Source 指定工程设置”一节。To override these project settings for your user, go to the “SoundBanks Settings - External Sources 选项卡”一节 and enable Override Project SoundBank Settings.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅