[Spice-devel] [PATCH spice-protocol 2/2] add SPICE_MSG_PLAYBACK_LATENCY
Yonit Halperin
yhalperi at redhat.com
Tue Feb 26 10:04:43 PST 2013
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 {
--
1.8.1
More information about the Spice-devel
mailing list