Skip to content

Engine → Audio → components.h

source_handle

Syntax

struct source_handle

Variables

AccessNameTypeDefaultDescription
publicclipVersionu320
publicFLAG_STARTED_ONCEstatic constexpr u81u << 0Bit of flags recording that the source was started at least once (playOnStart consumed).
publicflagsu80
publicvoicevoice_id{}

Functions

Public

started_once

[[nodiscard]] constexpr bool started_once() const noexcept;

True once FLAG_STARTED_ONCE is set.

Operator Overloads

Public

operator==

[[nodiscard]] bool operator==(
    const source_handle &other) const noexcept = default;