[maemo-developers] OSSO Media Server and system pauses

From: Tony Maro tonymaro at gmail.com
Date: Wed Aug 29 21:21:39 EEST 2007
I may have found the issue - in the Kagu code.  Investigating further
still.  I noticed that it was creating a new thread and RPC every time you
start a new song, and things seem to work just fine without doing that...

On 8/29/07, Tony Maro <tonymaro at gmail.com> wrote:
> Okay, so I ripped out gstreamer and put in OSSO Media Server code.
> The thing I've noticed is that there's a distinct pause of about 1 second
> in my code when you start a new song playing.  I didn't have this issue with
> gstreamer (though the other issues with gstreamer far outweigh the new
> problem.)
> Without using threads it was nearly a 2.5 second pause, so using a thread
> helped.  For a media player app this wouldn't be a problem, but for a game,
> it's murder.  I've run cProfile and it says there's only a .02 second delay
> in the send_cmd function, but there's a definite pause in user input of
> about one second.
> I'm going through all this pain because the pygame sound routines can't
> use the Maemo sound hardware...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070829/0f9962e2/attachment.htm 
More information about the maemo-developers mailing list