Looking at this again I realized the problem is some encoders pad the data out to the full ADPCM block size, so you have to look at the sample count in the headers to see how big the sample actually is. I've added a fix to the compiler so it only copies the sample data that's actually used out to the PDA file, scheduled for 2.7.1
3 Likes