[Spice-commits] 2 commits - spice/enums.h spice/protocol.h

Yonit Halperin yhalperi at kemper.freedesktop.org
Mon Apr 22 13:31:18 PDT 2013


 spice/enums.h    |    3 +++
 spice/protocol.h |    2 ++
 2 files changed, 5 insertions(+)

New commits:
commit 4f868cc354b617f55a0983fd2b2eafcb223b5772
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Mon Jan 21 14:29:21 2013 -0500

    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.

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 {
commit a04cc68ba16c5ad8cf1f35b61c1464ef96bdfb0c
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Mon Jan 21 12:32:27 2013 -0500

    add SPICE_MSGC_DISPLAY_STREAM_REPORT
    
    If the server & client support SPICE_DISPLAY_CAP_STREAM_REPORT,
    the server first sends SPICE_MSG_DISPLAY_STREAM_ACTIVATE_REPORT. Then,
    the client periodically sends SPICE_MSGC_DISPLAY_STREAM_REPORT
    messages that supply the server details about the current quality of
    the video streaming on the client side. The server analyses the
    report and adjust the stream parameters accordingly.

diff --git a/spice/enums.h b/spice/enums.h
index cf5715f..3c89f2e 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -470,12 +470,14 @@ enum {
     SPICE_MSG_DISPLAY_STREAM_DATA_SIZED,
     SPICE_MSG_DISPLAY_MONITORS_CONFIG,
     SPICE_MSG_DISPLAY_DRAW_COMPOSITE,
+    SPICE_MSG_DISPLAY_STREAM_ACTIVATE_REPORT,
 
     SPICE_MSG_END_DISPLAY
 };
 
 enum {
     SPICE_MSGC_DISPLAY_INIT = 101,
+    SPICE_MSGC_DISPLAY_STREAM_REPORT,
 
     SPICE_MSGC_END_DISPLAY
 };
diff --git a/spice/protocol.h b/spice/protocol.h
index e500a17..028cade 100644
--- a/spice/protocol.h
+++ b/spice/protocol.h
@@ -129,6 +129,7 @@ enum {
     SPICE_DISPLAY_CAP_MONITORS_CONFIG,
     SPICE_DISPLAY_CAP_COMPOSITE,
     SPICE_DISPLAY_CAP_A8_SURFACE,
+    SPICE_DISPLAY_CAP_STREAM_REPORT,
 };
 
 enum {


More information about the Spice-commits mailing list