[Spice-devel] [PATCH spice-server 1/2] fixup! sound: Don't mute recording when client reconnects

Christophe Fergeau cfergeau at redhat.com
Wed Jun 27 14:54:56 UTC 2018


Yup, integrated something similar already, forgot to resend.

Christophe

On Wed, Jun 27, 2018 at 03:46:38PM +0100, Frediano Ziglio wrote:
> Style:
> - split long lines;
> - remove space between function and parameters.
> ---
>  server/sound.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/server/sound.c b/server/sound.c
> index 65c4e0bf..cf8d504e 100644
> --- a/server/sound.c
> +++ b/server/sound.c
> @@ -157,7 +157,8 @@ typedef struct PlaybackChannelClientClass {
>  } PlaybackChannelClientClass;
>  
>  G_DEFINE_TYPE_WITH_CODE(PlaybackChannelClient, playback_channel_client, TYPE_SND_CHANNEL_CLIENT,
> -                        G_IMPLEMENT_INTERFACE(G_TYPE_INITABLE, playback_channel_client_initable_interface_init))
> +                        G_IMPLEMENT_INTERFACE(G_TYPE_INITABLE,
> +                        playback_channel_client_initable_interface_init))
>  
>  typedef struct SpiceVolumeState {
>      uint16_t *volume;
> @@ -238,7 +239,8 @@ typedef struct RecordChannelClientClass {
>  } RecordChannelClientClass;
>  
>  G_DEFINE_TYPE_WITH_CODE(RecordChannelClient, record_channel_client, TYPE_SND_CHANNEL_CLIENT,
> -                        G_IMPLEMENT_INTERFACE(G_TYPE_INITABLE, record_channel_client_initable_interface_init))
> +                        G_IMPLEMENT_INTERFACE(G_TYPE_INITABLE,
> +                        record_channel_client_initable_interface_init))
>  
>  
>  /* A list of all Spice{Playback,Record}State objects */
> @@ -1481,7 +1483,7 @@ static gboolean playback_channel_client_initable_init(GInitable *initable,
>  
>  static void playback_channel_client_initable_interface_init(GInitableIface *iface)
>  {
> -    playback_channel_client_parent_initable_iface = g_type_interface_peek_parent (iface);
> +    playback_channel_client_parent_initable_iface = g_type_interface_peek_parent(iface);
>  
>      iface->init = playback_channel_client_initable_init;
>  }
> @@ -1542,7 +1544,7 @@ static gboolean record_channel_client_initable_init(GInitable *initable,
>  
>  static void record_channel_client_initable_interface_init(GInitableIface *iface)
>  {
> -    record_channel_client_parent_initable_iface = g_type_interface_peek_parent (iface);
> +    record_channel_client_parent_initable_iface = g_type_interface_peek_parent(iface);
>  
>      iface->init = record_channel_client_initable_init;
>  }
> -- 
> 2.17.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/20180627/b8184305/attachment.sig>


More information about the Spice-devel mailing list