Epok Engine

EPOK RUNTIME

epok::audio_parameters

Function · 1 overload

Function

Performs `audio parameters` as part of SPU sound playback and voice ownership.

Belongs to
epok
Header
audio.hpp
Overloads
1

Declaration

Declaration
inline void audio_parameters(int i)

Performs `audio parameters` as part of SPU sound playback and voice ownership.

ParameterTypeMeaning
iintValue supplied for i. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

C++ example
#include "audio.hpp"

// Assume these named values have been initialized with valid data:
// int i

epok::audio_parameters(i);

Why use it

The API exposes the hardware service without hiding latency or bounded memory.

Trade-offs and warnings

Treat device absence, busy state and I/O failure as expected outcomes; do not block the frame loop waiting for hardware.

Declared in runtime/audio.hpp:79

Related members