public void stop() { if (!init || deinit) return; deinit = true; print("\n"); /* * Shut down */ FMOD_RESULT result; if (!sound.isNull()) { result = sound.release(); errorCheck(result); } if (!system.isNull()) { result = system.close(); errorCheck(result); result = system.release(); errorCheck(result); } printExit("Shutdown\n"); }