CLASS v1.8.0

mixer::Audio

kn::mixer::Audio

Declared in kraken/audio/Mixer.hpp

Reference

C++ API

priority

variable
AudioPriority priority = AudioPriority::SFX

No description in the source header.

canSteal

variable
bool canSteal = true

No description in the source header.

~Audio

function
~Audio()

No description in the source header.

Audio

function2 overloads
Audio(const Audio &)=delete
Audio(Audio &&other) noexcept

No description in the source header.

operator=

function2 overloads
Audio & operator=(const Audio &)=delete
Audio & operator=(Audio &&other) noexcept

No description in the source header.

setVolume

function
void setVolume(float volume)=0

No description in the source header.

getVolume

function
float getVolume() const

No description in the source header.

isPlaying

function
bool isPlaying() const =0

No description in the source header.

play

function
void play(double fadeInSeconds=0.0)=0

No description in the source header.

stop

function
void stop(double fadeOutSeconds=0.0)=0

No description in the source header.

Find your next step

Start typing to search the manual.