Simple positional audio?

Has anyone written a simple positional audio API, maybe built on top of
SDL_mixer?

What I’m looking for would be really simple, with sounds being adjusted
based on a direction vector (I only need 2D) and distance.

Clues appreciated; if there isn’t already something like this, I’ll try
to figure it out and make something available.–
Chris Herborth (@Chris_Herborth) http://www.pobox.com/~chrish/
Never send a monster to do the work of an evil scientist.

AFAIK SDL_Mixer already has this:
http://jcatki.no-ip.org:8080/SDL_mixer/SDL_mixer_76.html#SEC76On Sun, Mar 30, 2008 at 1:49 PM, Chris Herborth wrote:

Has anyone written a simple positional audio API, maybe built on top of
SDL_mixer?

What I’m looking for would be really simple, with sounds being adjusted
based on a direction vector (I only need 2D) and distance.

Yep, and it’s used in Tux Paint. That’s right, stereo panning.
Wanna make somethin’ of it?!On Sun, Mar 30, 2008 at 02:00:29PM +0100, Brian wrote:

AFAIK SDL_Mixer already has this:
http://jcatki.no-ip.org:8080/SDL_mixer/SDL_mixer_76.html#SEC76


-bill!
bill at newbreedsoftware.com
http://www.newbreedsoftware.com/