AudioFile and SamplePlayer function name typos in 'Inside Playdate in C'


AudioSample* playdate->sound->sample->loadFile(const char* path)

should be

AudioSample* playdate->sound->sample->load(const char* path)

and also

SamplePlayer* playdate->sound->sampleplayer->newSamplePlayer(void)

should be

SamplePlayer* playdate->sound->sampleplayer->newPlayer(void)


I am also just noticing these typos. It's a good thing I have autocomplete or I would have been very confused.

1 Like

Finally fixed this! Thanks @DidierMalenfant for reporting it, sorry for missing it back in April, and thanks @timhei for bringing it back up.

1 Like