Hi, visual studio spits out this error in reference to this line:
|
auto allocated = new void*[1]; |
It's not the case in choc repo:
if (size.numChannels == 0)
{
void** allocated = new void*[1];
*allocated = allocated;
return { reinterpret_cast<SampleType* const*> (allocated), 0 };
}