[Spice-devel] [PATCH] wow

Victor Toso victortoso at redhat.com
Tue Jan 6 05:58:39 PST 2015


Check this out

---
 gtk/spice-gstaudio.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gtk/spice-gstaudio.c b/gtk/spice-gstaudio.c
index 1b82f24..ede5a30 100644
--- a/gtk/spice-gstaudio.c
+++ b/gtk/spice-gstaudio.c
@@ -538,6 +538,7 @@ static gboolean connect_channel(SpiceAudio *audio, SpiceChannel *channel)
 {
     SpiceGstaudio *gstaudio = SPICE_GSTAUDIO(audio);
     SpiceGstaudioPrivate *p = gstaudio->priv;
+    /* New thing */
 
     if (SPICE_IS_PLAYBACK_CHANNEL(channel)) {
         g_return_val_if_fail(p->pchannel == NULL, FALSE);
@@ -555,7 +556,8 @@ static gboolean connect_channel(SpiceAudio *audio, SpiceChannel *channel)
         spice_g_signal_connect_object(channel, "notify::mute",
                                       G_CALLBACK(playback_mute_changed), gstaudio, 0);
 
-        return TRUE;
+        /* new: changing this below */
+        return FALSE;
     }
 
     if (SPICE_IS_RECORD_CHANNEL(channel)) {
-- 
2.1.0



More information about the Spice-devel mailing list