diff --git a/include/fggl/audio/null_audio.hpp b/include/fggl/audio/null_audio.hpp index fbcd9b3896799c11d77753514221df71e2ff9064..4d14b2746da7dc9cb85bb0b1505c9c9d990e587d 100644 --- a/include/fggl/audio/null_audio.hpp +++ b/include/fggl/audio/null_audio.hpp @@ -37,6 +37,7 @@ namespace fggl::audio { void play(const AudioClipShort & /*clip*/, bool /*looping = false*/) override; }; + //! A dummy audio module that does nothing struct NullAudio { constexpr static const char *name = "fggl::audio::NULL"; constexpr static const std::array<modules::ServiceName, 1> provides = { diff --git a/include/fggl/audio/openal/module.hpp b/include/fggl/audio/openal/module.hpp index 28e6d1fa1fe93bba82f33f3d19caef773ed663e5..d6236ed95596b1050b4b7a982ac9652a1f9ead28 100644 --- a/include/fggl/audio/openal/module.hpp +++ b/include/fggl/audio/openal/module.hpp @@ -33,6 +33,7 @@ namespace fggl::audio { constexpr auto OGG_VORBIS = assets::AssetType::make("audio/vorbis"); constexpr auto RES_OGG_VORBIS = assets::from_mime("audio/vorbis"); + //! an audio module which uses openal(-soft) as a backend. struct OpenAL { constexpr static const char *name = "fggl::audio::OpenAL"; constexpr static const std::array<modules::ServiceName, 1> provides = {