@Override
    public void pauseSource(AudioSource src) {
        checkDead();
        synchronized (threadLock) {
            if (audioDisabled) {
                return;
            }

            AudioData audioData = src.getAudioData();
            if (audioData == null) {
                logger.log(Level.WARNING, "pauseSource called on source with null AudioData: {0}", src);
                return;
            }

            if (src.getStatus() == Status.Playing) {
                assert src.getChannel() != -1;

                int sourceId = channels[src.getChannel()];
                al.alSourcePause(sourceId);
                src.setStatus(Status.Paused); // Update JME status
            }
        }
    }
Pauses a playing audio source.
@param src The audio source to pause.
jme3-core/src/main/java/com/jme3/audio/openal/ALAudioRenderer.java