[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
2022-02-05 09:53:06 +00:00
committed by Geoffrey McRae
parent 5e1b8f2abe
commit 0d97a51802
4 changed files with 25 additions and 36 deletions

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);