Skip to content

ALAC encoder produces invalid bitstream on Apple Silicon(in native mode) #24

@NickolayGerasimenko

Description

@NickolayGerasimenko

While running on M1 in Native mode, the ALAC encoder produces invalid bitstream.
Root cause:
Swap32BtoN implementation is wrong.

Could you merge this fix into master:

#elif defined (__arm__) || defined(__aarch64__)
#define TARGET_RT_LITTLE_ENDIAN 1
#endif

https://github.com/philippe44/alac/blob/master/EndianPortable.c

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