summaryrefslogtreecommitdiff
path: root/spice.proto
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-18 17:12:31 +0200
committerAlexander Larsson <alexl@redhat.com>2010-06-18 20:27:32 +0200
commit972951dbb78ecb8b9b7549a1302a49a00ad1b44b (patch)
treed12e59ca0ff2f22f96acb66fe8301030b70e7ea0 /spice.proto
parent4ce4364f84a1b458b715f4c5fa83ea20fd26f749 (diff)
Make sound data @as_ptr to avoid copying data
Diffstat (limited to 'spice.proto')
-rw-r--r--spice.proto8
1 files changed, 4 insertions, 4 deletions
diff --git a/spice.proto b/spice.proto
index bad9ed3..6cedfac 100644
--- a/spice.proto
+++ b/spice.proto
@@ -921,13 +921,13 @@ channel PlaybackChannel : BaseChannel {
server:
message {
uint32 time;
- uint8 data[] @end;
+ uint8 data[] @end @as_ptr(data_size);
} @ctype(SpiceMsgPlaybackPacket) data = 101;
message {
uint32 time;
audio_data_mode mode;
- uint8 data[] @end;
+ uint8 data[] @end @as_ptr(data_size);
} mode;
message {
@@ -952,13 +952,13 @@ channel RecordChannel : BaseChannel {
client:
message {
uint32 time;
- uint8 data[] @end @nomarshal;
+ uint8 data[] @end @nomarshal @as_ptr(data_size);
} @ctype(SpiceMsgcRecordPacket) data = 101;
message {
uint32 time;
audio_data_mode mode;
- uint8 data[] @end;
+ uint8 data[] @end @as_ptr(data_size);
} mode;
message {