@Override
    public void simpleInitApp() {
        audioSource = new AudioNode(assetManager,
                "Sound/Environment/Ocean Waves.ogg", AudioData.DataType.Buffer);
        audioSource.setName("Waves");
        audioSource.setLooping(true);
        rootNode.attachChild(audioSource);

        audioSource.play();

        registerInputMappings();
    }
This test demonstrates that destroying and recreating the OpenAL Context
upon device disconnection is not an optimal solution.

As shown, AudioNode instances playing in a loop cease to play after a device disconnection
and would require explicit restarting.

This test serves solely to highlight this issue,
which should be addressed with a more robust solution within
the ALAudioRenderer class in a dedicated future pull request on Git.
jme3-examples/src/main/java/jme3test/audio/TestAudioDeviceDisconnect.java