Thread (17 messages) flat view 17 messages, 2 authors, 2011-08-29

Re: [PATCH v3 4/8] Fix state to "playing" on SCO establishment

From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2011-08-29 08:29:00

Hi Frédéric,

2011/8/26 Frédéric Dalleau [off-list ref]:
quoted hunk ↗ jump to hunk
---
 audio/gateway.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/audio/gateway.c b/audio/gateway.c
index c5f21e6..7bab77c 100644
--- a/audio/gateway.c
+++ b/audio/gateway.c
@@ -261,6 +261,8 @@ static void sco_connect_cb(GIOChannel *chan, GError *err, gpointer user_data)
       g_io_add_watch(gw->sco, G_IO_ERR | G_IO_HUP | G_IO_NVAL,
                               (GIOFunc) sco_io_cb, dev);
+
+       change_state(dev, GATEWAY_STATE_PLAYING);
 }

 static gboolean rfcomm_disconnect_cb(GIOChannel *chan, GIOCondition cond,
--
1.7.1
Ack.

-- 
Luiz Augusto von Dentz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help