[SDL] Re: SDL_mixer lib questions

Martin Donlon akawaka at csn.ul.ie
Fri Apr 7 02:11:33 PDT 2000

On Thu, 6 Apr 2000, Pierre Phaneuf wrote:

> Ben Campbell wrote:
> > > That's true, the mixer uses SDL_MixAudio(), which is entirely software for
> > > now...
> > 
> > Cool and groovy with me -
> > Our audio guy did some basic profiling (under directsound) a while back,
> > and he is of the opinion that software mixing really isn't a very big
> > hit on the sort of CPUs we have these days...
> Particularly if you use some easy assembler, like add with carry, then
> check the carry instead of a C language "if" to do the clipping. MMX can
> be helpful also, but the add with carry thing works everywhere and is a
> BIG step from C-only implementation.
> The C-only implementation is already nice on only slightly powerful
> machines, mind you, but I have this 486 at home... :-)
I don't think there is such a thing as "easy" assemlber in a
cross-platform api.

Long live the confused,
Bother!, Said Pooh, and twitted his moderator.

More information about the SDL mailing list