From 9e791d26560b566bb21b5cd39d9042a41f29714c Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Wed, 25 Jun 2025 17:50:44 -0400 Subject: audio: first-pass, pipewire --- src/game.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game.cpp') 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(); -- cgit v1.2.3