<br><br><div class="gmail_quote">On Mon, Nov 30, 2009 at 09:58, Pau Garcia i Quiles <span dir="ltr"><<a href="mailto:pgquiles@elpauer.org">pgquiles@elpauer.org</a>></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">> It works pretty well with Amarok by me. There is a slight delay before<br>
> playback start due to the way I patched the backend.<br>
> The gstreamer backend as it is relies on the GLib main loop to dispatch<br>
> messages to the backend. There is no default GLip loop on Windows so I<br>
> instead poll the gstreamer bus to get messages.<br>
> I set the timer timeout to 100ms. Problem is that at the start of the<br>
> playback, there is a bunch of messages, and I only get 1 every 100ms. OTOH,<br>
> decreasing the timeout would accelerate the start, but the it would also<br>
> unnecessarily rapidly poll the bus during playback, when no messages are<br>
> coming in.<br>
><br>
> I guess the proper way would be to run a GLib loop in the backend process,<br>
> 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'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't remember) at aKademy<br>
2009 but forgot to send him the patch :-/<font color="#888888"></font><br></blockquote><div><br>Wouldn'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>