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
1 2 3 4 5 6 7
| AudioSystem3D.init() dev = AudioSystem3D.openDevice(null); ctx = AudioSystem3D.createContext(dev); AudioSystem3D.makeContextCurrent(ctx);
Buffer buffer = AudioSystem3D.loadBuffer("filename"); |
I see several methods in the API that I could potentially use such as
1 2 3
| ctx.destroy(); dev.close(); ALut.alutExit(); |
Just not sure what to do.
Thanks for your help.