mixer::Sample
kn::mixer::Sample Inherits kn::mixer::Audio
Declared in kraken/audio/Mixer.hpp
At a glance
9 membersReference
C++ API~Sample
function~Sample() override=defaultNo description in the source header.
Sample
functionNo description in the source header.
operator=
functionNo description in the source header.
setMaxPolyphony
functionvoid setMaxPolyphony(uint8_t maxPolyphony)No description in the source header.
getMaxPolyphony
functionuint8_t getMaxPolyphony() constNo description in the source header.
setVolume
functionvoid setVolume(float volume) overrideNo description in the source header.
isPlaying
functionbool isPlaying() const overrideNo description in the source header.
play
functionvoid play(double fadeInSeconds=0.0) overrideNo description in the source header.
stop
functionvoid stop(double fadeOutSeconds=0.0) overrideNo description in the source header.