Epok Engine

EPOK RUNTIME

epok::audio_frame

Variable

Variable

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

Belongs to
epok
Header
audio.hpp

Declaration

Declaration
uint32_t audio_frame

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

Type
uint32_t
Storage
Namespace scope

Example

C++ example
#include "audio.hpp"

auto value = epok::audio_frame;

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