+#ifndef VST_IN_PLACE
+ if (_audio_out_buf_cnt != _plugin->numOutputs) {
+ for (uint32_t i = 0; i < _audio_out_buf_cnt; ++i) {
+ free (_audio_out_buf[i]);
+ }
+ free (_audio_out_buf);
+ _audio_out_buf_cnt = _plugin->numOutputs;
+ _audio_out_buf = (float**) malloc (_audio_out_buf_cnt * sizeof(float*));
+ /* think. Should this be part of the BufferSet ?
+ * in which case it would be dynamically sized, but then again
+ * every BufferSet would have N[?] extra VST audio buffers.
+ */
+ for (uint32_t i = 0; i < _audio_out_buf_cnt; ++i) {
+ _audio_out_buf[i] = (float*) malloc (MAX_VST_BUFFERSIZE * sizeof(float));
+ }
+ }
+#endif