[SOLVED] AudioNode

can one please explain why this line in AudioNode class
image

Iā€™m guessing because that constructor is being deprecated

yes you have Right but when i delete this ,DataType.Buffer i become the same Foto without being that constructor deprecated

See
https://javadoc.jmonkeyengine.org/com/jme3/audio/AudioNode.html#AudioNode-com.jme3.asset.AssetManager-java.lang.String-

1 Like

The constructor is deprecated. It means it will be removed in future versions and you should not rely on it, or do not use updated versions. It is kept for backwards compatibility, and annotated as deprecated so you are aware. Use one of the other constructors that are not deprecated instead.

1 Like