enzo1982 / freac

The fre:ac audio converter project
https://www.freac.org/
GNU General Public License v2.0
1.43k stars 76 forks source link

wrong chunk size in aiff files #636

Open Knurrhahn opened 2 months ago

Knurrhahn commented 2 months ago

Describe the bug I found out that the chunk size in aiff for meta information sometimes is too small. Most of the decoders don't care but my old Pioneer XDJ aero can't read them.

I wrote a script to correct the chunk sizes but it would be nice if fre:ac was not producing corrupt files.

To Reproduce Steps to reproduce the behavior:

  1. Convert a aiff with metadata, use resampling and sample konverter, use SndFile AIFF v.1.2.0
  2. try to play it on a old player or check it with an hex editor

Expected behavior Correct junk sizes in aiff.

Screenshots NAME chunk size is 0x11 but must be 0x12:

Bildschirmfoto 2024-09-24 um 22 57 18

System (please complete the following information)

Additional context