diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-13 12:31:59 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-13 12:31:59 +0100 |
commit | c58fbbefd5a426c38b1182e9e760f149f0091670 (patch) | |
tree | cc512d4cf90addfd7bca66c0407afdaabff8d0a5 /src/crepe/facade/SoundContext.h | |
parent | 827f09031e2d3cc15e956b242774a4566e1403c1 (diff) |
move some files from `loek/tests` to `loek/audio`
Diffstat (limited to 'src/crepe/facade/SoundContext.h')
-rw-r--r-- | src/crepe/facade/SoundContext.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/crepe/facade/SoundContext.h b/src/crepe/facade/SoundContext.h index d3123d2..8d9e396 100644 --- a/src/crepe/facade/SoundContext.h +++ b/src/crepe/facade/SoundContext.h @@ -7,12 +7,10 @@ namespace crepe { class SoundContext { -private: +public: SoundContext(); virtual ~SoundContext(); - // singleton - static SoundContext & get_instance(); SoundContext(const SoundContext &) = delete; SoundContext(SoundContext &&) = delete; SoundContext & operator=(const SoundContext &) = delete; @@ -20,6 +18,7 @@ private: private: SoLoud::Soloud engine; + //! Sound directly calls methods on \c engine friend class Sound; }; |