I was briefly looking over jME’s sound code today and noticed use of ByteBuffer.allocateDirect(…).. I think it would be safer to replace all of those calls with org.lwjgl.BufferUtils. It’s a very minor change, but one that could save us some debugging hassle.
Any comments, or shall I just go ahead and make the changes?
We’ve begun using them in all the new things we are writing (as they are a 0.9 introduction). We just haven’t gone back and changed older code to use them.
Feel free to change anything to the util (as long as it’s in an LWJGL* class, which I think all are).
Changed and submitted.