I might have found the cause of the "Unable to open item for playback (Seek offset out of range)" error reported in this post.
I generated 10 files using a TTS software, each of them reading a different digit in Cantonese. 4 out of the 10 files could not be loaded by foobar2000 (v0.9.1), resulting in the above error message.
I inspected them with a hex editor and it turned out that these 4 files have something in common: the data chunk size is an odd number.
To test that this was the cause of the error, I incremented the data chunk size in the header by 1, and added a junk byte at the end of the file. Then foobar was able to read and play the file without any problem.
Can the developers look into this problem? Thanks!
