On 13 Jan 2010, at 01:23, Tenno Seremel wrote:
lots of:
******
* xmmsc_io_out_handle was called without pending output
* This is probably an error in the application using libxmmsclient
******
There are only
require 'xmmsclient_glib'
@xmms.add_to_glib_mainloop
lines that's 'messing' with loop.
However I do use things like
@xmms.broadcast_playback_status.notifier
and
@xmms.playback_tickle.wait
etc.
Does this counts as mixing async and sync?
If it is so what should I use to invoke actions like pause / play /
etc.?
Yes, mainloop/notifier are async whereas wait/value are sync.
Don't mix them on the same connection.
You can either do everything async (usually GUIs work async), using
only notifiers and the mainloop and no wait, or if you need some sync
queries, use a second separate connection to the server.
--
Sébastien Cevey / inso.cc
--
_______________________________________________
Xmms2-devel mailing list
Xmms2-devel@lists.xmms.se
http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel