I'm trying to use the Listener in a 2D world.
I have a mono channel .WAV sound buffer which I play through a Sound.
s
.Position = new Vector3f
(position
.X, 0
.0f, position
.Y); s
.Attenuation = 1
.0f
; s
.RelativeToListener = true; s
.Play(); I have set the Listener.Position to the same position as the Sound.
But I hear nothing, only when I make Attenuation 0.001 I hear something softly, but then it doesnt seem to matter what the Sound's position is. Even when I make the difference huge, the sound remains the same volume through my speakers.
Also, the Listener.GlobalVolume is set to 100.0f
Am I doing something wrong here?