Closed neumatho closed 2 years ago
@AliceLR: is this good?
Rebased properly.
The implementation of this decoder looks consistent with libxmp's ADPCM4 decoder. I will find an ADPCM4 XM and verify. (Don't worry about MOD, S3M, and IT, I can follow up re: those in another patch.)
edit: also, I think the public API change is minor enough that it should be fine.
edit 2: MRHPx-HBTN LUCiFER.xm
from libxmp's regression tests sounds much better with this patch, so I think it's OK as far as I'm concerned.
Added support for depacking ADPCM4 samples used in MOD Plugin.
Note that MOD Plugin also can pack samples in S3M, IT and MOD files, but I do not have any of such modules, so only support in XM files has been added.
You can get a lot of modules at modland here: https://modland.com/incoming/workshop/Modpluginpacked/