Hello.
I started two days ago with openfl. Did some basic tutorials. Today I started working with sounds. Except they simply does not work.
OpenFl 4.2.0-LetoAe
Run as Debug, target neko.
project.xml:
<assets path="assets/audio" rename="audio" type="audio" />
<assets path="assets/sfx" rename="sfx" type="sound" />
Project of course has assets/audio and assets/sfx with some .mp3 and .ogg files.
Code:
var sound:Sound = Assets.getSound(“sfx/menu_over.mp3”);
sound.play();
Program will simply exit unexpectedly at line with sound.play(). Only info in console is
AL lib: (EE) alc_cleanup: 1 device not closed
As I understand it, it is not related to problem, it is just cleanup message.
There are no stack traces or exceptions in console.