Skip to content

Saner error reporting #10

@ghost

Description

Listening for the error event when decoding an MP3 Asset often reports bad main_data_begin pointer or Huffman data overrun errors. Contrary to the Asset class documentation, the decoding process finishes afterwards, apparently successfully. Errors of the type UnderflowError and Error: Invalid layer, however, are thrown as simple exceptions - and being thrown asynchronously, they are impossible for client code to catch. It'd be useful if they were reported through the error event, with the less fatal errors being perhaps moved to a warning event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions