[client] audio: increase startup latency

Underruns can still happen quite easily at the beginning of playback,
particularly at very low latency settings. Further increase the startup
latency to avoid this.
This commit is contained in:
Chris Spencer authored and Geoffrey McRae committed 2022-02-10 07:50:01 +11:00
1 parent 5e1b8f2abe
commit 0d97a51802
4 files changed
+25 -36

No files matched your search

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