Epok Engine

EPOK RUNTIME

epok::audio_addresses

Variable

Variable

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

Belongs to
epok
Header
audio.hpp

Declaration

Declaration
uint16_t audio_addresses[512]

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

Type
uint16_t[512]
Storage
Namespace scope

Example

C++ example
#include "audio.hpp"

auto firstValue = epok::audio_addresses[0];

// When mutation is valid for this object:
// epok::audio_addresses[0] = replacement;

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:20