Sampleplayer typo in Inside Playdate with C

"Inside Playdate with C" says to use playdate->sound->sampleplayer->newSamplePlayer() to create a new sampleplayer, but this function doesn't exist. It looks like it should be playdate->sound->sampleplayer->newPlayer instead?