SDK: 3.1.1
Platform: Linux
Calling playdate->sound->sample->getData with any of the out arguments set to NULL crashes the game. The docs don’t specify whether the arguments are optional or not, but I would have expected them to be optional just like for getBitmapData.
I believe getData should check if each argument is NULL before trying to set it, and ideally the docs should say what the behavior is.
Thanks.