private void initOpenAL(Config config) {
if (config.getAudio().isDisableSound()) {
audioManager = new NullAudioManager();
} else {
try {
audioManager = new OpenALManager(config.getAudio());
} catch (LWJGLException | OpenALException e) {
logger.warn("Could not load OpenAL manager - sound is disabled", e);
audioManager = new NullAudioManager();
}
}