Epok Engine

EPOK RUNTIME

epok::audio_bank

Variable

Variable

Exposes `audio_bank` on the `epok` namespace for SPU sound playback and voice ownership.

Belongs to
epok
Header
audio.hpp

Declaration

Declaration
const AudioClip * audio_bank

Exposes `audio_bank` on the `epok` namespace for SPU sound playback and voice ownership.

Type
const AudioClip *
Storage
Namespace scope

Example

C++ example
#include "audio.hpp"

auto value = epok::audio_bank;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in runtime/audio.hpp:18