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