From d3ea90f183a1742fe205f06ec6543f65869a6799 Mon Sep 17 00:00:00 2001 From: Nicholas Tay Date: Tue, 17 May 2022 18:57:48 +1000 Subject: Add Linux support Oh boy this was a bit of a hassle lol - dynamic loading was the easiest part... but then came both sound and x11 Using SDL for now but I'd really like to change it for even lower layer, but then I might have to make my own mixer... oh no. --- platform/platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'platform/platform.h') diff --git a/platform/platform.h b/platform/platform.h index a5e5db4..ca07789 100644 --- a/platform/platform.h +++ b/platform/platform.h @@ -8,11 +8,11 @@ struct board *load_board(char *board_name); bool sound_init(float volume); -void sound_play(unsigned char *buffer); +void sound_play(unsigned char *buffer, unsigned int buffer_len); void keyboard_unhook(void); bool keyboard_hook(void); void enter_idle(void); -#endif /* CLAK_PLATFORM_H_ */ \ No newline at end of file +#endif /* CLAK_PLATFORM_H_ */ -- cgit