aboutsummaryrefslogtreecommitdiff
path: root/src/example/audio_internal.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-04 08:31:05 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-04 08:31:05 +0100
commit63d50eea4e389e73e26f41452829dd48e6190c70 (patch)
tree82a8ef7a28fe7e069dbe9830adc28fd49dd85846 /src/example/audio_internal.cpp
parent06f65659fc6ffde7cabd2135040cbfbf089e5a24 (diff)
parent2585dc3cab48ccad0cfa0c63354662d656c86c46 (diff)
Merge branch 'master' of github.com:lonkaars/crepe
Diffstat (limited to 'src/example/audio_internal.cpp')
-rw-r--r--src/example/audio_internal.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/example/audio_internal.cpp b/src/example/audio_internal.cpp
index f35ad9d..c7dd163 100644
--- a/src/example/audio_internal.cpp
+++ b/src/example/audio_internal.cpp
@@ -4,8 +4,8 @@
*/
#include <crepe/Sound.h>
-#include <crepe/util/log.h>
#include <crepe/api/Config.h>
+#include <crepe/util/log.h>
#include <thread>
@@ -16,7 +16,7 @@ using namespace std::chrono_literals;
using std::make_unique;
// Unrelated stuff that is not part of this POC
-int _ = [] () {
+int _ = []() {
// Show dbg_trace() output
auto & cfg = api::Config::get_instance();
cfg.log.level = util::LogLevel::TRACE;
@@ -24,8 +24,6 @@ int _ = [] () {
return 0; // satisfy compiler
}();
-
-
int main() {
// Load a background track (Ogg Vorbis)
auto bgm = Sound("../mwe/audio/bgm.ogg");