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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user