Whenever I need a sound asset in my program I simply do:
var audio = Assets.getMusic(“path”);
or I use getSound, depending on what I need. I’ve noticed though that you can declare sounds in the project xml file, as described here: http://www.openfl.org/documentation/projects/project-files/xml-format/
Is there any actual difference between these two methods? is one more stable and/or consistent?
I do experience occasional audio issues on android, though those have been mostly fixed after upgrading android on my device. Just wondering if declaring some assets in the xml would help at all.