Engine » Audio module

Adds audio to Cubos.

Settings

  • audio.listener.count - number of listeners per audio device (default: 4).

Dependencies

Files

file audio.hpp
Class cubos::engine::Audio.
file bridge.hpp
Class cubos::engine::AudioBridge.
file listener.hpp
Component cubos::engine::AudioListener.
file pause.hpp
Component cubos::engine::AudioPause.
file play.hpp
Component cubos::engine::AudioPlay.
file plugin.hpp
Plugin entry point.
file source.hpp
Component cubos::engine::AudioSource.
file stop.hpp
Component cubos::engine::AudioStop.

Classes

struct cubos::engine::Audio
Asset containing raw Audio data.
class cubos::engine::AudioBridge
Bridge which loads and saves Audio assets.
struct cubos::engine::AudioListener
Component which adds an AudioListener to the entitiy.
struct cubos::engine::AudioPause
Component which triggers the pause of an audio source.
struct cubos::engine::AudioPlay
Component which triggers the play of an audio source.
struct cubos::engine::AudioSource
Component which makes an entity emit sound.
struct cubos::engine::AudioStop
Component which triggers the stop of an audio source.