Epok Engine

PSYQO SDK

psyqo::SPU::ChannelPlaybackConfig::sampleRate

Field

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.

Field

Exposes `sampleRate` on `psyqo::SPU::ChannelPlaybackConfig` for SPU RAM, voices, ADSR and sound transfer.

Belongs to
psyqo::SPU::ChannelPlaybackConfig
Header
spu.hh

Declaration

Declaration
FixedPoint<12, uint16_t> sampleRate

Exposes `sampleRate` on `psyqo::SPU::ChannelPlaybackConfig` for SPU RAM, voices, ADSR and sound transfer.

Type
FixedPoint<12, uint16_t>
Storage
Per instance

Example sketch

C++ example
#include "psyqo/spu.hh"

psyqo::SPU::ChannelPlaybackConfig& object = /* obtain a valid instance */;
auto value = object.sampleRate;

// When mutation is valid for this object:
// object.sampleRate = replacement;

Trade-offs and warnings

Consult the linked header for the meaning, lifetime and permitted use of this declaration.

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/spu.hh:124