diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-13 12:33:59 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-13 12:33:59 +0100 |
commit | 9d58e897fb68ab8dd001a5085cde2fae4634c274 (patch) | |
tree | b70c33c6343be56a536c0b639435a45a1d2429ed /src/crepe/facade/SoundContext.cpp | |
parent | 87c74782e486647c46f9ca4d2f857094006e563c (diff) |
move some files from `loek/tests` to `loek/audio`
Diffstat (limited to 'src/crepe/facade/SoundContext.cpp')
-rw-r--r-- | src/crepe/facade/SoundContext.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crepe/facade/SoundContext.cpp b/src/crepe/facade/SoundContext.cpp index b5f3db3..5e5a3a9 100644 --- a/src/crepe/facade/SoundContext.cpp +++ b/src/crepe/facade/SoundContext.cpp @@ -4,6 +4,11 @@ using namespace crepe; +SoundContext & SoundContext::get_instance() { + static SoundContext instance; + return instance; +} + SoundContext::SoundContext() { dbg_trace(); engine.init(); |