From 4f868cc354b617f55a0983fd2b2eafcb223b5772 Mon Sep 17 00:00:00 2001 From: Yonit Halperin Date: Mon, 21 Jan 2013 14:29:21 -0500 Subject: [PATCH] add SPICE_MSG_PLAYBACK_LATENCY SPICE_MSG_PLAYBACK_LATENCY is intended for adjusting the latency of the audio playback. It is used for synchronizing the audio and video playback. The corresponding capability is SPICE_PLAYBACK_CAP_LATENCY. --- spice/enums.h | 1 + spice/protocol.h | 1 + 2 files changed, 2 insertions(+) diff --git a/spice/enums.h b/spice/enums.h index 3c89f2e..8c731e9 100644 --- a/spice/enums.h +++ b/spice/enums.h @@ -523,6 +523,7 @@ enum { SPICE_MSG_PLAYBACK_STOP, SPICE_MSG_PLAYBACK_VOLUME, SPICE_MSG_PLAYBACK_MUTE, + SPICE_MSG_PLAYBACK_LATENCY, SPICE_MSG_END_PLAYBACK }; diff --git a/spice/protocol.h b/spice/protocol.h index 028cade..e11f384 100644 --- a/spice/protocol.h +++ b/spice/protocol.h @@ -110,6 +110,7 @@ typedef struct SPICE_ATTR_PACKED SpiceSubMessageList { enum { SPICE_PLAYBACK_CAP_CELT_0_5_1, SPICE_PLAYBACK_CAP_VOLUME, + SPICE_PLAYBACK_CAP_LATENCY, }; enum {