[sdlsound] Problem with Playsound

Ryan C. Gordon icculus at clutteredmind.org
Wed Oct 23 16:44:27 EDT 2002


> I haven't done much with the SDL_sound code itself - so portable in general
> that I haven't had to touch it.  Do you know of any likely spots to check out
> for this kind of memory access?


Little scary to be malloc()ing the whole file size:

        /*
         * ModPlug needs the entire stream in one big chunk. I don't like it,
         *  but I don't think there's any way around it.
         */

There's also a bunch of options for ModPlug, and we only set a handful.
Might be worth playing around with those.

Are there any profiling tools for CE?

--ryan.





More information about the sdlsound mailing list