Re: [pygame] Patch - Re-add music support for file-like objects

2008-07-20 Thread Forrest Voight
Fixed both Brian and I's deadlocking problem. Biran's program works all the way up to the last music (house_lo.mp3) which has an odd header (SDL_mixer's fault, patch send in.) The ogg get_busy() problem is SDL_mixer's fault. pygame.mixer.music.get_busy() directly calls SDL_mixer. On Sun, Jul 20,

[pygame] [BUG] (tentative) with pygame.transform.threshold

2008-07-20 Thread Lenard Lindstrom
This is a heads up. I am finding that test program test\transform_test.py crashes in the test_threshold__uneven_colors method. The program crashes just after the for loop finishes. With gdb debugging the crash is at the start of the second pass through the for loop. I call this a tentative bug

Re: [pygame] Patch - Re-add music support for file-like objects

2008-07-20 Thread Forrest Voight
For the deadlock on reloading a sound, I'm working on it, I earlier discovered the problem (threaded rwops deadlocks on exception in file-like due to bug). For the mp3 not loading, it is another magic problem. It is not an ID3 tag but some other weird header not caught. The MID file doesn't play

Re: [pygame] Patch - Re-add music support for file-like objects

2008-07-20 Thread Lenard Lindstrom
I found that enabling file-like-object support doesn't affected loading from a path. Here is what I noticed for file-like objects: "ogg" plays but get_busy() fails to return False when playing ends. "mp3" is not recognized, but this looks a magic problem in SDL_mixer. For direct loading house_

Re: [pygame] Patch - Re-add music support for file-like objects

2008-07-20 Thread René Dudfield
hi, nice testing :) I think this will have to be ifdef'd out for 1.8.1, unless someone can fix it in the next couple of days. cu, On Mon, Jul 21, 2008 at 4:26 AM, Brian Fisher <[EMAIL PROTECTED]> wrote: > I got some time to play with this more, testing both on my Vista machine and > OS X 10.5.

Re: [pygame] Patch - Re-add music support for file-like objects

2008-07-20 Thread Brian Fisher
I got some time to play with this more, testing both on my Vista machine and OS X 10.5. with SDL_Mixer 1.2.8, ogg and mp3 and mid and mod all seem to be able to load from a file or file-like object on my windows machine, so I think Forrest is right about the level of support in SDL_Mixer 1.2.8 ..

Re: [pygame] The gsoc physics module, bug fixing?

2008-07-20 Thread Marcus von Appen
On, Thu Jul 10, 2008, Peter Gebauer wrote: > Hi Zhang and Marcus! > > > Thanks for your careful attention to my works :-) > > I follow your repos updates on a daily basis, it's fun to watch it grow and > become a Python module. > > Perhaps tests can have a separate build target and not link