2
« on: September 27, 2010, 02:22:38 am »
I've been looking at this for quite some time now and have concluded it's probably a bug within SFML.
I have a single channel ogg audio file which i want to apply 3D effects to. My listener position is definitely set in my code and when i print debug stats to my screen all of the values are being set correctly in my code. The only thing is, there is still no 3D effect. It's as if Listener is constantly not being set.
I'm using the CSFML binding inside C#. Everything else works great, the graphics playing sound etc. it's just i can not seem to get 3D sounds working properly.
I have set the values in my code as a test:
sound.RelativeToListener = false;
sound.Volume = 50;
Listener.Position = new SFML.Graphics.Vector3(20,0 ,30);
Listener.Direction = new SFML.Graphics.Vector3(0, 1, 0);
I may be missing something but i'd really appreciate the help.
thanks.