diff options
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(); |