Force ID3Tag in Aiff to be written as of size not odd

Issue #98 resolved
IJabz repo owner created an issue

Aif chunks have to be even sized, if they are not an extra byte has to be inserted before the next chunk, but that extra byte is not recorded in the chunk header size and should not be according to spec. These odd byte sized chunks have caused some headaches in the jaudiotagger code and I expect there are other libraries that may not handle correctly so i prefer to write even sized chunks whenever possible for maximum compatability. We can do that by telling the ID3tag to pad itself with an byte if odd sized, then the enclosing chunk will also be even sided.

Comments (3)

  1. IJabz reporter

    Done for Aiff, bit more complicated for Wav as we have to consider it having multiple tags so reanimg this issue to just apply to Aifd and make a new issue for wav

  2. Log in to comment