AudioNode could have easier methods!

I personally think that the AudioNode’s setMaxDistance() method is not very good. Why there isn’t a method to say: at 20 wu, stop rendering 3d sound. But the setMaxDistance only sets the distance in which the sounds stops attenuating.

I really want a method to stop playing at certains points. Somebody can give me a tutorial, an example, or explanations?


Its basically just wrapped OpenAL methods so you can consult their manual if the javadoc isn’t sufficient.