[SDL] Proposal for special effects in SDL_mixer. Please comment.

Derrell Lipman Derrell.Lipman at UnwiredUniverse.com
Tue Jun 12 06:36:18 PDT 2001


"Ryan C. Gordon" <icculus at linuxgames.com> writes:

> DECLSPEC int Mix_RegisterEffect(int chan, Mix_EffectFunc_t f, void *arg);

Might you want a parameter in here to specify the position in the
pipeline of this effect?

> /* Set the position of a channel. (angle) is an integer from 0 to 360, that
>  *  specifies the location of the sound in relation to the listener.
>  * ...
>  * This is only meant to be a basic effect for simple "3D" games.

You've got longitude here.  If this is truly for 3D games, do you
want to add a latitude (-90 to 90) angle as well?

Derrell



More information about the SDL mailing list