mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 22:10:56 +00:00
Use queued audio duration instead of queued frame count to constrain latency
This avoids latency explosion when we negotiate 10 ms instead of 5 ms audio packets.
This commit is contained in:
1 parent
c21affd15a
commit
4cf498b09d
2 files changed
+5
-3
No files matched your search
@@ -21,5 +21,6 @@ public:
|
||||
private:
|
||||
SDL_AudioDeviceID m_AudioDevice;
|
||||
void* m_AudioBuffer;
|
||||
int m_FrameSize;
|
||||
Uint32 m_FrameSize;
|
||||
Uint32 m_FrameDurationMs;
|
||||
};
|
||||
Reference in new issue
Block a user