[client] audio: allow the audiodev to determine the start fill level

This commit is contained in:
Geoffrey McRae committed 2022-01-19 01:52:19 +11:00
1 parent 46da447429
commit 04ae9217e8
4 files changed
+36 -23

No files matched your search

+3 -2
View File
@@ -49,8 +49,9 @@ struct LG_AudioDevOps
*/
void (*setup)(int channels, int sampleRate, LG_AudioPullFn pullFn);
/* called when playback is about to start */
void (*start)(void);
/* called when there is data available to start playback
* return true if playback should start */
bool (*start)(int framesBuffered);
/* called when SPICE reports the audio stream has stopped */
void (*stop)(void);