Hello,
I was wondering what the necessary steps are for shutting down the audio engine if the AudioSystem3D object is used (instead of the traditional OpenAL way of doing things - c-style like).
When I start up the engine, I do this
AudioSystem3D.init()
dev = AudioSystem3D.openDevice(null);
ctx = AudioSystem3D.createContext(dev);
AudioSystem3D.makeContextCurrent(ctx);
// later on I do this to create buffers
Buffer buffer = AudioSystem3D.loadBuffer("filename");
I see several methods in the API that I could potentially use such as
ctx.destroy();
dev.close();
ALut.alutExit();
Just not sure what to do.
Thanks for your help.