Skip to content

Fallback to libsndfile when dr_wav can't handle the file #1342

@Ghabry

Description

@Ghabry

Mostly a problem when the PCM is not 16 bit, breaking audio in some games.

And imo FastWav could be renamed to BuiltinWav.

That's in general an API flaw in the AudioDecoder that the initialized Decoder has no common way to tell if the file is actually supported. Maybe the constructors could be made private and you just let "Open" handle the decision if it will work or not and then fallback to the next one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions