HaxeFlixel / HaxeFlixel/flixel

FlxSound Length / Time is capped at ~25 minutes

Open
#2,899 5 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.