diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2013-01-09 16:11:29 -0500 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2013-02-18 14:55:31 -0500 |
commit | e49fc2e7145371d4adafccb902fa3b64e19e64aa (patch) | |
tree | f78a24c1fb2f749b4460f3b2ef435cd5991a9caa | |
parent | 09f88f4a688a156b48c2058dac7a8c0f35e96abd (diff) |
add SPICE_MSG_PLAYBACK_LATENCYvideo.adaptive_bit_rate
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 95c4e58868f6821112e9cd30385f0112eb6d5ea +Subproject 04e66a3ab8c805d3934f80cec3d14d1d749ec3b 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 { |