private void updateAudioData(AudioData audioData) {
        if (audioData instanceof AudioBuffer) {
            updateAudioBuffer((AudioBuffer) audioData);
        } else if (audioData instanceof AudioStream) {
            updateAudioStream((AudioStream) audioData);
        }
    }
Prepares OpenAL buffers for an AudioStream. Generates buffer IDs.
Does not fill buffers with data yet.
@param as The AudioStream.
jme3-core/src/main/java/com/jme3/audio/openal/ALAudioRenderer.java