flixel icon indicating copy to clipboard operation
flixel copied to clipboard

FlxSound Length / Time is capped at ~25 minutes

Open Jaduplex opened this issue 2 years ago • 5 comments

  • Flixel version: All
  • Affected targets: All This isn't really a code issue, or even necessarily an error. It's just a really inconvenient oversight that makes playing long audio impossible without perfectly splicing parts of the audio apart, then managing to play them in perfect order at the perfect time without lag, or settling for an inferior, jankier solution. I know this might be one of those things that seems sort of useless to report since "no one is realistically going to use this" by most people's standards, but I have seen many people have to resort to janky, terrible solutions for playing long sounds, which isn't efficient or convenient, and is hindered by the very parts of FlxSound that are designed to be beginner friendly. I don't know if there's a way to make the time and length floating points not be capped like this, since I'm not exactly that deep in programming knowledge, but if there is, even a system for playing longer audio more efficiently would be appreciated.

Jaduplex avatar Aug 24 '23 04:08 Jaduplex

Ok, apparently I was way off on the reasoning. An acquaintance in a discord server discovered that the cause of this is a poorly done formula on OpenFL / Lime's end. I've suggested they do a pull request to fix that. I don't know the specifics

Jaduplex avatar Oct 09 '23 01:10 Jaduplex

Asked them, here's details. image

Jaduplex avatar Oct 09 '23 02:10 Jaduplex

is there a openfl issue? can you link it here?

Geokureli avatar Oct 09 '23 02:10 Geokureli

No issue on the OpenFL repo, should I make one?

Jaduplex avatar Oct 09 '23 11:10 Jaduplex

yes, please, and link it here, or link this issue there

Geokureli avatar Oct 10 '23 16:10 Geokureli