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.

This commit is contained in:
Mike Brady
2024-08-08 16:08:55 +01:00
parent 9650990523
commit 734f93a76f
+1
View File
@@ -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