Hello,
I have two questions/feature requests about the Sample API:
- how can I tell whether
loadIntoSamplefailed or not? In case ofsample->loadI can check for aNULLreturn value, but with this what should I check? I guess I could usegetData, but that's kinda inconvenient; perhapsloadIntoSamplecould return anintto signal success or failure? - we have
loadIntoSampleandnewSampleFromData, but noloadIntoSampleFromData: is there a reason for it? What if I want to recycle an existing AudioSample and load into it from memory rather than from file?
Thank you!