Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - aphro_

Pages: [1]
1
Audio / 3D Audio doesn't seem to work.
« on: September 27, 2010, 10:05:43 pm »
My audio is Mono - single chanelled.

The previous forum thread however helped.  Thank you.

2
Audio / 3D Audio doesn't seem to work.
« 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.

Pages: [1]
anything