diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2013-01-25 09:27:33 -0500 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2013-04-22 16:30:55 -0400 |
commit | 073aeec569e2bee3feec8042986b8434db8afad3 (patch) | |
tree | aa4abff930aed959f0981a7b3a197697d40832b5 /server/main_dispatcher.h | |
parent | a9087c4c8a1cf38c9dae331a9255f0dc6823e7b8 (diff) | |
download | spice-073aeec569e2bee3feec8042986b8434db8afad3.tar.gz spice-073aeec569e2bee3feec8042986b8434db8afad3.tar.xz spice-073aeec569e2bee3feec8042986b8434db8afad3.zip |
reds: support mm_time latency adjustments
When there is no audio playback, we set the mm_time in the client to be older
than the one in the server by at least the requested latency (the delta is
actually bigger, due to the network latency).
When there is an audio playback, we adjust the mm_time in the client by
adjusting the playback buffer using SPICE_MSG_PLAYBACK_LATENCY.
Diffstat (limited to 'server/main_dispatcher.h')
-rw-r--r-- | server/main_dispatcher.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/main_dispatcher.h b/server/main_dispatcher.h index d44ee3a5..0c79ca8d 100644 --- a/server/main_dispatcher.h +++ b/server/main_dispatcher.h @@ -6,6 +6,7 @@ void main_dispatcher_channel_event(int event, SpiceChannelEventInfo *info); void main_dispatcher_seamless_migrate_dst_complete(RedClient *client); +void main_dispatcher_set_mm_time_latency(RedClient *client, uint32_t latency); void main_dispatcher_init(SpiceCoreInterface *core); #endif //MAIN_DISPATCHER_H |