diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-10-01 21:22:30 +0200 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-10-01 21:22:30 +0200 |
commit | e0ea870fdfcfbe9e3f0e47215bb809d4353d88e2 (patch) | |
tree | 16f694c46ec4b76019187322da2bdd87906bf5ba /src/crepe/facade/SoundContext.cpp | |
parent | 7230b630025886939c726e07eba1a0b35511f687 (diff) |
removed submodule and updating resource_manager
Diffstat (limited to 'src/crepe/facade/SoundContext.cpp')
-rw-r--r-- | src/crepe/facade/SoundContext.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/crepe/facade/SoundContext.cpp b/src/crepe/facade/SoundContext.cpp new file mode 100644 index 0000000..72047d2 --- /dev/null +++ b/src/crepe/facade/SoundContext.cpp @@ -0,0 +1,20 @@ +#include "util/log.h" + +#include "SoundContext.h" + +using namespace crepe; + +SoundContext & SoundContext::get_instance() { + static SoundContext instance; + return instance; +} + +SoundContext::SoundContext() { + dbg_trace(); + engine.init(); +} + +SoundContext::~SoundContext() { + dbg_trace(); + engine.deinit(); +} |