[Spice-commits] Branch '0.10' - 2 commits - spice/protocol.h spice/stats.h
Alon Levy
alon at kemper.freedesktop.org
Sun Jan 8 03:45:25 PST 2012
spice/protocol.h | 2 ++
spice/stats.h | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 3c45dbd7b9355e77c89780a170dea3e7f29917dc
Author: Nahum Shalman <nshalman at elys.com>
Date: Sun Jan 8 13:44:20 2012 +0200
Fix SPICE_STAT_SHM_NAME to be portable
From SHM_OPEN(3):
For portable use, a shared memory object should be identified by a name
of the form /somename; that is, a null-terminated string of up to
NAME_MAX (i.e., 255) characters consisting of an initial slash,
followed by one or more characters, none of which are slashes.
diff --git a/spice/stats.h b/spice/stats.h
index eea5478..452d89e 100644
--- a/spice/stats.h
+++ b/spice/stats.h
@@ -33,7 +33,7 @@
#include <spice/types.h>
-#define SPICE_STAT_SHM_NAME "spice.%u"
+#define SPICE_STAT_SHM_NAME "/spice.%u"
#define SPICE_STAT_NODE_NAME_MAX 20
#define SPICE_STAT_MAGIC (*(uint32_t*)"STAT")
#define SPICE_STAT_VERSION 1
commit b598a92f682239cf0439ac4fa7cbf88964e793b6
Author: Alon Levy <alevy at redhat.com>
Date: Sat Nov 19 14:58:02 2011 +0200
add opus playback and record cap
diff --git a/spice/protocol.h b/spice/protocol.h
index ddfe84b..924c8cc 100644
--- a/spice/protocol.h
+++ b/spice/protocol.h
@@ -104,11 +104,13 @@ typedef struct SPICE_ATTR_PACKED SpiceSubMessageList {
enum {
SPICE_PLAYBACK_CAP_CELT_0_5_1,
SPICE_PLAYBACK_CAP_VOLUME,
+ SPICE_PLAYBACK_CAP_OPUS,
};
enum {
SPICE_RECORD_CAP_CELT_0_5_1,
SPICE_RECORD_CAP_VOLUME,
+ SPICE_RECORD_CAP_OPUS,
};
enum {
More information about the Spice-commits
mailing list