summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-06-25 17:50:44 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-06-25 17:50:44 -0400
commit9e791d26560b566bb21b5cd39d9042a41f29714c (patch)
tree7e95ca82423feb1009b6916bca82142d1326a94a /src/game.cpp
parent3c73b503330eb67ad9489da6941ae3b28a686780 (diff)
audio: first-pass, pipewire
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 67a9600..25473ed 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1,6 +1,7 @@
#include "game.hpp"
+#include "audio.hpp"
#include "camera.hpp"
#include "components.hpp"
#include "ecs.hpp"
@@ -122,6 +123,7 @@ void Game_Main(PKEWindowProperties windowProps, const char *executablePath) {
PkeThreads_Init();
AM_Init();
ECS_Init();
+ pke_audio_init();
Physics_Init();
PkeCamera_Init();
pke_level_init();
@@ -310,6 +312,7 @@ GAME_SHUTDOWN:
Physics_Teardown();
ECS_Teardown();
DestroyWindow();
+ pke_audio_teardown();
AM_DebugPrint();
AM_Teardown();
PkeThreads_Teardown();