aboutsummaryrefslogtreecommitdiff
path: root/src/example/audio_internal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/example/audio_internal.cpp')
-rw-r--r--src/example/audio_internal.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/example/audio_internal.cpp b/src/example/audio_internal.cpp
index c7dd163..1ea839d 100644
--- a/src/example/audio_internal.cpp
+++ b/src/example/audio_internal.cpp
@@ -3,14 +3,13 @@
* Standalone example for usage of the internal \c Sound class.
*/
-#include <crepe/Sound.h>
#include <crepe/api/Config.h>
+#include <crepe/facade/Sound.h>
#include <crepe/util/log.h>
#include <thread>
using namespace crepe;
-using namespace crepe::api;
using namespace std;
using namespace std::chrono_literals;
using std::make_unique;
@@ -18,8 +17,8 @@ using std::make_unique;
// Unrelated stuff that is not part of this POC
int _ = []() {
// Show dbg_trace() output
- auto & cfg = api::Config::get_instance();
- cfg.log.level = util::LogLevel::TRACE;
+ auto & cfg = Config::get_instance();
+ cfg.log.level = LogLevel::TRACE;
return 0; // satisfy compiler
}();