Add support for sunshine host latency

This commit is contained in:
ns6089
2023-04-18 20:56:12 +03:00
committed by Cameron Gutman
parent 169078d0a9
commit 284840bde7
2 changed files with 16 additions and 0 deletions

View File

@@ -151,6 +151,12 @@ typedef struct _DECODE_UNIT {
// Frame type
int frameType;
// Optional host processing latency of the frame, in 1/10 ms units.
// Zero when the host doesn't provide the latency data
// or frame processing latency is not applicable to the current frame
// (happens when the frame is repeated).
uint16_t frameHostProcessingLatency;
// Receive time of first buffer. This value uses an implementation-defined epoch,
// but the same epoch as enqueueTimeMs and LiGetMillis().
uint64_t receiveTimeMs;