[PATCH spice-protocol 2/2] add SPICE_MSG_PLAYBACK_LATENCY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]