[Spice-devel] [spice] Enable mm_time adjustments on startup

Victor Toso victortoso at redhat.com
Thu Apr 11 09:38:59 UTC 2019


Hi,

On Wed, Apr 10, 2019 at 11:25:17AM +0200, Francois Gouget wrote:
> We send mm_time adjustments to the client whenever there is no audio
> playback. There is no audio playback on startup. Therefore
> mm_time_enabled must be true on startup. QED.
> 
> Signed-off-by: Francois Gouget <fgouget at codeweavers.com>

But what are you trying to fix/improve exactly?

> ---
>  server/reds.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/server/reds.c b/server/reds.c
> index 28542bd09..647039119 100644
> --- a/server/reds.c
> +++ b/server/reds.c
> @@ -3590,6 +3590,7 @@ static int do_spice_init(RedsState *reds, SpiceCoreInterface *core_interface)
>      reds->inputs_channel = inputs_channel_new(reds);
>  
>      reds->mouse_mode = SPICE_MOUSE_MODE_SERVER;
> +    reds->mm_time_enabled = TRUE;
>  
>      spice_buffer_free(&reds->client_monitors_config);
>  
> -- 
> 2.20.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190411/e9664af9/attachment.sig>


More information about the Spice-devel mailing list