protected AudioRenderer getRenderer() {
        AudioRenderer result = AudioContext.getAudioRenderer();
        if (result == null)
            throw new IllegalStateException(
                    "No audio renderer available, make sure call is being performed on render thread.");
        return result;
    }
Creates a new <code>AudioNode</code> with the given audio file.

@param assetManager The asset manager to use to load the audio file
@param name The filename of the audio file
@deprecated Use {@link AudioNode#AudioNode(com.jme3.asset.AssetManager, java.lang.String,
    com.jme3.audio.AudioData.DataType) } instead
jme3-core/src/main/java/com/jme3/audio/AudioNode.java