From 734f93a76ff5292a08d29a754428fe95a0b29978 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Thu, 8 Aug 2024 16:08:55 +0100 Subject: [PATCH] Add a new call to the backends -- prepare_to_play() -- to give them advance warning that audio will be coming soon. Sent when the first frame is received. --- audio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/audio.h b/audio.h index 583b2bbb..82b5409d 100644 --- a/audio.h +++ b/audio.h @@ -31,6 +31,7 @@ typedef struct { int (*init)(int argc, char **argv); // at end of program void (*deinit)(void); + void (*prepare_to_play)(void); // sent when audio is received for the first time -- advance warning. int (*prepare)(void); // looks and sets stuff in the config data structure