private void attachAudioToSource(int sourceId, AudioData data, boolean looping) {
        if (data instanceof AudioBuffer) {
            attachBufferToSource(sourceId, (AudioBuffer) data);
        } else if (data instanceof AudioStream) {
            attachStreamToSource(sourceId, (AudioStream) data, looping);
        } else {
            throw new UnsupportedOperationException();
        }
    }
Unqueues processed buffers from a streaming source and refills/requeues them.
Updates the stream's internal count of processed bytes.

@param sourceId The OpenAL source ID.
@param stream   The AudioStream.
@param looping  Whether the stream should loop internally.
@return True if at least one buffer was successfully refilled and requeued.
jme3-core/src/main/java/com/jme3/audio/openal/ALAudioRenderer.java