Epok Engine

EPOK RUNTIME

epok::XAAction::start

Method · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Method

Starts start as part of XA music streaming and playback state.

Belongs to
epok::XAAction
Header
music.hpp
Overloads
1

Declaration

Declaration
void start(uint32_t sector, eastl::function<void(bool)> &&callback)

Starts start as part of XA music streaming and playback state.

ParameterTypeMeaning
sectoruint32_tNot documented; consult the linked header.
callbackeastl::function<void (bool)> &&Not documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "music.hpp"

// Assume these named values have been initialized with valid data:
// uint32_t sector
// eastl::function<void (bool)> && callback

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

object.start(sector, callback);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/music.hpp:51

Related members