<br><br><div class="gmail_quote">On Mon, Nov 30, 2009 at 09:58, Pau Garcia i Quiles <span dir="ltr">&lt;<a href="mailto:pgquiles@elpauer.org">pgquiles@elpauer.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">&gt; It works pretty well with Amarok by me. There is a slight delay before<br>
&gt; playback start due to the way I patched the backend.<br>
&gt; The gstreamer backend as it is relies on the GLib main loop to dispatch<br>
&gt; messages to the backend. There is no default GLip loop on Windows so I<br>
&gt; instead poll the gstreamer bus to get messages.<br>
&gt; I set the timer timeout to 100ms. Problem is that at the start of the<br>
&gt; playback, there is a bunch of messages, and I only get 1 every 100ms. OTOH,<br>
&gt; decreasing the timeout would accelerate the start, but the it would also<br>
&gt; unnecessarily rapidly poll the bus during playback, when no messages are<br>
&gt; coming in.<br>
&gt;<br>
&gt; I guess the proper way would be to run a GLib loop in the backend process,<br>
&gt; but I have no experience of GLib.<br>
<br>
</div>You could also compile Qt on Windows to use the GLib loop, as it does<br>
on Unix. That&#39;s the approach I took when I did my own port of<br>
Phonon-GStreamer to Windows back in April or so. I talked about that<br>
with someone from Trolltech (Jens Bache? can&#39;t remember) at aKademy<br>
2009 but forgot to send him the patch :-/<font color="#888888"></font><br></blockquote><div><br>Wouldn&#39;t that be overkill just for gstreamer? <br><br>Furthermore, leaving the gstreamer patches inside phonon would normally allow a KDE svn compiled phonon to work on a stock Qt binary setup as well (which honestly is my primary goal).<br>
<br>- Chris -<br></div></div>