HaxeFlixel / HaxeFlixel/flixel
FlxSound Length / Time is capped at ~25 minutes
Open
Nobody has claimed this yet.
OpenFL / Lime
Sound
- Dominant language
- Haxe
- Stars
- 2.2k
- Forks
- 522
- Avg merge
- 34m
- Merged PRs (30d)
- 1
Description
- 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining FlxSound's time and length handling and how audio duration is represented across all targets. Define a supported approach for playing audio beyond approximately 25 minutes without manual splicing, then verify it with a long-audio case across the affected targets.
Written by the indexing model from the issue text.
Assessment
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100