differences between sampleframes (in perform64 routine) and maxvectorsize (in dsp64 method)

Alexis Baskind's icon

Dear all,
I'm developing a Max external based on C++ code, in which I need to define the block size in a reliable way. The argument sampleframes (in perform64 routine) allows that, but it means transmitting the block size for every frame. On the other hand, the argument maxvectorsize (in dsp64 method), which is fired only once each time the DSP chain is being reconfigured/switched on, seem to provide the same information.

So my question: is there a case for which sampleframes (in perform64 routine) differs from maxvectorsize (in dsp64 method)? If not, is there a known drawback in using the latter instead of the former?

All the best,

Alexis

Timothy Place's icon

Good question!

In theory we could add a feature somewhere in the future which would result in the vector size not being equal to the maxvectorsize. In practice they are always, and have always been, the same. Even the introduction of MC didn't change that.

Cheers

Alexis Baskind's icon

Hi Tim,

thanks for the answer, it's clear.

Best

Alexis