[Spice-devel] [PATCH spice-server 1/2] fixup! sound: Don't mute recording when client reconnects
Frediano Ziglio
fziglio at redhat.com
Wed Jun 27 14:46:38 UTC 2018
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
More information about the Spice-devel
mailing list