mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 10:44:01 +00:00
[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:

committed by
Geoffrey McRae

parent
5e1b8f2abe
commit
0d97a51802
@@ -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);
|
||||
|
Reference in New Issue
Block a user