Cycling74 / min-devkit

Tools, documentation, and reference implementation of a Max Package built using the Min-API.
MIT License
156 stars 30 forks source link

vector_size not reliable #165

Closed x37v closed 3 years ago

x37v commented 3 years ago

the vector_size from the vector operator is initialized with a value from max and not updated if max's buffer size changes. This happens in max for live devices. My max audio settings show a buffer size of 2 but live wants a buffer size of 64, min reports 2 when I am in the dsp setup routine.

x37v commented 3 years ago

the only reliable vector size is the value given from the dsp method registered with the max sdk

x37v commented 3 years ago

should simply populate the vector_size in the vector operator every time the dsp method is called

x37v commented 3 years ago

fixed in 950707de3f9f889056903d2ad436708012af2c37