New additions

Hi,

I have updated CVS with the a new test for the sound movement.



IMPORTANT: If you’d like to test the movement the sound you use must be in MONO format. Stereo sound will not move.



I also added the volume control : Two methods are concerned:

setMaxVolume(float value) and setVolume(float value) which can be used to simulate a sound coming from a closed area. (I also think that the velocity should be changed but as I am quite new to sound stuff I will have to test and test again).



There is a new updatePosition method which takes as argument a Vector3f , it is better to use that one to avoid a new object creation i.e increase performance.

Arman.

IMPORTANT: If you'd like to test the movement the sound you use must be in MONO format. Stereo sound will not move.


Is there a way to know what format we are in? I'm having trouble tracking down a mono mp3. Any suggestions?