Stream audio

    By default, Xenko plays audio directly from memory. This is useful for short sound effects such as gunshots or footsteps.

    Note

    Streaming audio increases latency unless you preload it with the ReadyToPlay task (see below).

    Streamed audio

    • In the Property Grid, select Stream From Disk:

    In the script for the asset, you can configure an audio file to play once the audio engine buffers enough audio samples. To do this, use this task: