Add the idea of a preflight message to tell the backend that frames will be coming...

This commit is contained in:
Mike Brady
2019-01-07 17:34:50 +00:00
parent 4613ee6bcb
commit caf06c5aba
11 changed files with 39 additions and 10 deletions
+1
View File
@@ -22,6 +22,7 @@ typedef struct {
void (*start)(int sample_rate, int sample_format);
// block of samples
int (*preflight)(void *buf, int samples); // say you are about to send these samples (before interpolation)
int (*play)(void *buf, int samples);
void (*stop)(void);