[maemo-developers] OSSO Media Server and system pauses

From: Tony Maro tonymaro at gmail.com
Date: Wed Aug 29 20:46:34 EEST 2007
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/6b89925e/attachment.htm 
More information about the maemo-developers mailing list