Allocates a buffer of the given type. @note this does NO checking if the buffer allocation was successful.
@mustBeOverridden Pointer<T> allocBuffer(int channels);