diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2013-01-09 16:11:29 -0500 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2013-03-11 11:12:46 -0400 |
commit | 09d6166ae6da5ed84cf2820d9beadb32a3edadaf (patch) | |
tree | 4354b85f97430edf79c64346c7ab3400a33d339a | |
parent | 3d9cc451b8c09059dad75abfbac40f51f8302773 (diff) |
add SPICE_MSG_PLAYBACK_LATENCYvideo.adaptive_bit_rate.v2
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.
-rw-r--r-- | common/messages.h | 4 | ||||
m--------- | spice-protocol | 0 | ||||
-rw-r--r-- | spice.proto | 4 |
3 files changed, 8 insertions, 0 deletions
diff --git a/common/messages.h b/common/messages.h index 1d30b87..a8a0eee 100644 --- a/common/messages.h +++ b/common/messages.h @@ -469,6 +469,10 @@ typedef struct SpiceMsgPlaybackPacket { uint32_t data_size; } SpiceMsgPlaybackPacket, SpiceMsgcRecordPacket; +typedef struct SpiceMsgPlaybackLatency { + uint32_t latency_ms; +} SpiceMsgPlaybackLatency; + typedef struct SpiceMsgRecordStart { uint32_t channels; uint32_t format; //SPICE_AUDIO_FMT_? diff --git a/spice-protocol b/spice-protocol -Subproject 6f8a0f19d00f102e8879482e17bca227594e158 +Subproject f461b6d7b432d2561288d924cbbc07c3803f878 diff --git a/spice.proto b/spice.proto index 97d1e1b..5eede6b 100644 --- a/spice.proto +++ b/spice.proto @@ -1102,6 +1102,10 @@ channel PlaybackChannel : BaseChannel { Empty stop; AudioVolume volume; AudioMute mute; + + message { + uint32 latency_ms; + } latency; }; channel RecordChannel : BaseChannel { |