private void initOpenAL() {
        try {
            if (!alc.isCreated()) {
                alc.createALC();
            }
        } catch (UnsatisfiedLinkError ex) {
            logger.log(Level.SEVERE, "Failed to load audio library (OpenAL). Audio will be disabled.", ex);
            audioDisabled = true;
            return;
        }

        enumerateAvailableChannels();

        printAudioRendererInfo();

        // Check for specific ALC extensions
        supportPauseDevice = alc.alcIsExtensionPresent("ALC_SOFT_pause_device");
        if (!supportPauseDevice) {
            logger.log(Level.WARNING, "Pausing audio device not supported (ALC_SOFT_pause_device).");
        }
        supportDisconnect = alc.alcIsExtensionPresent("ALC_EXT_disconnect");
        if (!supportDisconnect) {
            logger.log(Level.INFO, "Device disconnect detection not supported (ALC_EXT_disconnect).");
        }

        initEfx();
    }
Initializes the OpenAL and ALC context.
jme3-core/src/main/java/com/jme3/audio/openal/ALAudioRenderer.java