From 6589107006fd4fc06bdb7d02cb4b1eef45395458 Mon Sep 17 00:00:00 2001 From: quou Date: Mon, 3 Jun 2024 21:05:14 +1000 Subject: Basic audio playback with pulseaudio. --- plat.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plat.h') diff --git a/plat.h b/plat.h index f001d70..3119543 100644 --- a/plat.h +++ b/plat.h @@ -11,4 +11,10 @@ void pbreak(Error code); typedef void (*Dir_Iter)(void* uptr, const char* path); void iter_dir(const char* path, Dir_Iter fn, void* u); +void init_audio(void* uptr, int sample, int channels); +void lock_audio(void); +void wait_audio(void); +void unlock_audio(void); +void stop_audio(void); + #endif -- cgit v1.2.3-54-g00ecf