Adapt the audio latency mitigation to WASAPI quirks and add a "stop the world" mode for quick resync

This commit is contained in:
Cameron Gutman
2018-07-15 21:43:43 -07:00
parent 7f8d4c88c1
commit 68bbeafab3
2 changed files with 42 additions and 6 deletions
+2
View File
@@ -123,7 +123,9 @@ private:
static short s_OpusDecodeBuffer[];
static int s_ChannelCount;
static int s_PendingDrops;
static int s_PendingHardDrops;
static unsigned int s_SampleIndex;
static Uint32 s_BaselinePendingData;
static AUDIO_RENDERER_CALLBACKS k_AudioCallbacks;
static CONNECTION_LISTENER_CALLBACKS k_ConnCallbacks;