Table des matières
When you are playing sounds in Wwise, the Wwise sound engine uses pre-filled buffers to reduce playback latency. By default, the sound engine uses four of these buffers. However, you can adjust the number of buffers the sound engine uses to correct certain performance issues you might encounter while using Wwise.
You cannot change the number of buffers being used while sounds are being played back, or when you are connected to a game.
If you notice voice starvation happening when you play back sound objects in Wwise, try increasing the number of output buffers. If, on the other hand, you would like to decrease playback latency, try decreasing the number of buffers.
Changing the number of output buffers resets the sound engine. As a consequence, any changes made to sound object property values through Events are lost. For example, if you were auditioning a sound which had its volume reduced through an Event, then changed the number of output buffers, the sound would return to its original volume.
To set the output buffer latency:
From the menu bar, click Audio > Audio Preferences.
The Audio Preferences dialog box opens.
In the Sound Engine group box, select a number of output buffers from the list. The number in parentheses represents the corresponding latency.
Click OK to save your settings.
From now on, the sound engine will use the number of output buffers you have specified when playing sounds in Wwise.