Version 3.1.2 documentation of C API has this:
int playdate->sound->sample->decompress(void)
However, according to pd_api_sound.h, this function takes AudioSample*. So, the documentation should be:
int playdate->sound->sample->decompress(AudioSample* sample)
Although it's clear from a compilation error, it's nice to update the documentation ![]()