Epok Engine

EPOK RUNTIME

epok::AudioComponent::set_priority

Method · 1 overload

Method

Sets priority as part of the object model module.

Belongs to
epok::AudioComponent
Header
object_model.hpp
Overloads
1

Declaration

Declaration
void set_priority(uint32_t value)

Sets priority as part of the object model module.

ParameterTypeMeaning
valueuint32_tValue supplied for value. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

C++ example
#include "object_model.hpp"

// Assume these named values have been initialized with valid data:
// uint32_t value

epok::AudioComponent& object = /* obtain a valid instance */;

object.set_priority(value);

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/object_model.hpp:623

Related members