CLASS v1.8.0

mixer::Sample

kn::mixer::Sample

Inherits kn::mixer::Audio

Declared in kraken/audio/Mixer.hpp

Reference

C++ API

~Sample

function
~Sample() override=default

No description in the source header.

Sample

function
Sample(Sample &&other) noexcept

No description in the source header.

operator=

function
Sample & operator=(Sample &&other) noexcept

No description in the source header.

void setMaxPolyphony(uint8_t maxPolyphony)

No description in the source header.

uint8_t getMaxPolyphony() const

No description in the source header.

setVolume

function
void setVolume(float volume) override

No description in the source header.

isPlaying

function
bool isPlaying() const override

No description in the source header.

play

function
void play(double fadeInSeconds=0.0) override

No description in the source header.

stop

function
void stop(double fadeOutSeconds=0.0) override

No description in the source header.

Find your next step

Start typing to search the manual.