Question about set_panning

Started by Imerion, April 07, 2011, 08:24:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Imerion

In one of my older games, made using Fenix 0.92, i used a command called set_panning to change which speaker the sound would come from.
I tried the same in Bennu, using :

set_panning(Channel,Left Speaker (0-255),Right Speaker (0-255));
So :
set_panning(0,255,255); <- Middle
set_panning(0,0,255); <- Right Speaker
set_panning(0,255,0); <- Left Speaker

It doesn't seem to work though. I tried changing channel to -1 instead of 0, but that didn't work either. Any ideas?
Try my games : Neotron Games

l1nk3rn3l

exist in bennupack a "3d sound" dll

Imerion

I see. Thanks! Do you know if there's a Linux version of it btw? Otherwise maybe I can compile one if the code is available.
Try my games : Neotron Games


Imerion

Try my games : Neotron Games