From 5266c1eff0de1be65a56f757c2b2fefc67fc7787 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Wed, 16 Oct 2024 02:54:58 +0200 Subject: [PATCH] Add sound support --- main.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.h b/main.h index 4726117..ee3eaa2 100644 --- a/main.h +++ b/main.h @@ -15,7 +15,6 @@ void unigi_graphics_flush(); // INPUT void unigi_input_mouse_capture(unigi_type_bool captured); - unigi_type_error unigi_window_create(unigi_type_resolution resolution, char * title); unigi_type_time_span unigi_time_get(); @@ -23,4 +22,7 @@ unigi_type_time_span unigi_time_get(); #define unigi_time_clocks_per_s 1000000 void unigi_time_sleep(unigi_type_time_span ms); void unigi_event_get(unigi_type_event * event); + +// SOUND +unigi_type_error unigi_sound_init(void (* callback)(uint8_t *, size_t)); #endif