[maemo-developers] OSSO Media Server and system pauses

From: Jesse Guardiani jesse at guardiani.us
Date: Wed Aug 29 21:36:28 EEST 2007
Feel free to post a patch if you've got one.

Tony Maro wrote:
> 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 
> <mailto: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...
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>   


-- 
Jesse Guardiani
Programmer/Sys Admin
jesse at guardiani.us


More information about the maemo-developers mailing list