Smpeg win32 patches

Hello Sam,

below you will find some smpeg win32 patches. They are
against yesterday’s CVS version, and I’ve also used
the lastest SDL-CVS version for testing.

Main changes:

  • allow compilation with VC++ 6
  • avoid some warnings
  • make some tables const
  • increase decoder thread priority (just like the SDL audio thread)

I’ve tested this successfully with my pysolsoundserver. Still,
some problems remain:

  • there are noticaable distortions (thread/semaphore problem ???)
  • SMPEG_stop() seems to cause a deadlock, at least from SDL_mixer
  • the version not using THREADED_AUDIO immediately crashes

Cheers,
Markus

---- Markus F.X.J. Oberhumer @ http://oberhumer.tsx.org ----
---- 5E CB 5C 85 DE AF 9E BF E9 DA 7E 6A 39 F8 CC 67 ----

                  3 WARPS TO URANUS

-------------- next part --------------
A non-text attachment was scrubbed…
Name: smpeg.diff
Type: application/octet-stream
Size: 10829 bytes
Desc: smpeg.diff
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20000530/67d5bae1/attachment.obj