From 3e94ecb3dac5003a3d58210ed1a4d1f1cb2083d1 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 12 Nov 2024 22:43:32 +0100 Subject: add script unit tests + major refactoring --- src/crepe/facade/SoundContext.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/crepe/facade/SoundContext.cpp') diff --git a/src/crepe/facade/SoundContext.cpp b/src/crepe/facade/SoundContext.cpp index 5e5a3a9..c89fb03 100644 --- a/src/crepe/facade/SoundContext.cpp +++ b/src/crepe/facade/SoundContext.cpp @@ -4,11 +4,6 @@ using namespace crepe; -SoundContext & SoundContext::get_instance() { - static SoundContext instance; - return instance; -} - SoundContext::SoundContext() { dbg_trace(); engine.init(); @@ -18,3 +13,4 @@ SoundContext::~SoundContext() { dbg_trace(); engine.deinit(); } + -- cgit v1.2.3