summaryrefslogtreecommitdiffstats
path: root/spice
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2013-01-21 14:29:21 -0500
committerYonit Halperin <yhalperi@redhat.com>2013-04-22 11:30:49 -0400
commit4f868cc354b617f55a0983fd2b2eafcb223b5772 (patch)
treee5a6171dc922c6e9dab3edddb2903467a3fd5fd2 /spice
parenta04cc68ba16c5ad8cf1f35b61c1464ef96bdfb0c (diff)
downloadspice-protocol-4f868cc354b617f55a0983fd2b2eafcb223b5772.tar.gz
spice-protocol-4f868cc354b617f55a0983fd2b2eafcb223b5772.tar.xz
spice-protocol-4f868cc354b617f55a0983fd2b2eafcb223b5772.zip
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.
Diffstat (limited to 'spice')
-rw-r--r--spice/enums.h1
-rw-r--r--spice/protocol.h1
2 files changed, 2 insertions, 0 deletions
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 {