Class · aurore

aurore::NullAudioPlayer

aurore/core/audio.hpp
#include <aurore/core/audio.hpp>

class aurore::NullAudioPlayer : public aurore::AudioPlayer

Functions 2

virtual bool load(enum Sound sound) override

Preemptively loads the given sound so that it's ready to be played when needed.

Returns a boolean indicating if the sound has been loaded or not.

Overrides aurore::AudioPlayer::load

audio.hpp:72
virtual bool play(enum Sound sound, float pitch) override

Plays the given sound.

The AudioPlayer should not assume that the sound has been loaded already, and must load it if needed.

Returns a boolean indicating if the sound has been played or not.

Overrides aurore::AudioPlayer::play

audio.hpp:77

Also the functions of aurore::AudioPlayer (2).

Read from Aurore's headers by Doxygen at each build · library/include