Epok Engine

EPOK RUNTIME

epok::music_drive

Variable

Variable

Exposes `music_drive` on the `epok` namespace for XA music streaming and playback state.

Belongs to
epok
Header
music.hpp

Declaration

Declaration
psyqo::CDRomDevice music_drive

Exposes `music_drive` on the `epok` namespace for XA music streaming and playback state.

Type
psyqo::CDRomDevice
Storage
Namespace scope

Example

C++ example
#include "music.hpp"

auto value = epok::music_drive;

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/music.hpp:13