I am using the latest libs (Lime 7.1.1 + Openfl 8.6.4) and sometimes, randomly I have crashes related to howler, or simple errors that don’t arrest the execution of the application (?!). The latest log I received is this one
Error: Failed to execute 'stop' on 'AudioScheduledSourceNode': cannot call stop without calling start first.
at o.pause (howler.min.js:2)
at e (howler.min.js:4)
at o.Howl.pos (howler.min.js:4)
at lime__$internal_backend_html5_HTML5AudioSource.setPosition (HTML5AudioSource.hx:307)
at lime__$internal_backend_html5_HTML5AudioSource.play (HTML5AudioSource.hx:72)
at lime_media_AudioSource.play (AudioSource.hx:71)
at new openfl_media_SoundChannel (SoundChannel.hx:107)
at openfl_media_Sound.play (Sound.hx:509)
What does this mean? Does it mean that howler doesn’t handle the exeption of a stop on a non-playing sound?
i had the same isshue. Replaced howler.min.js content with ‘howler.core.js’ and problem was fixed.
InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable howler.min.js:2