Always use resizable buffers

It was a slight problem for audio buffers, but events can apparently
also have an arbitrary size because of chunks.
This commit is contained in:
Robbert van der Helm
2020-03-09 21:32:49 +01:00
parent adf33e84a8
commit 8dad15b597
6 changed files with 40 additions and 87 deletions
+1 -1
View File
@@ -115,5 +115,5 @@ class PluginBridge {
* A scratch buffer for sending and receiving data during `process` and
* `processReplacing` calls.
*/
std::unique_ptr<AudioBuffers::buffer_type> process_buffer;
std::vector<uint8_t> process_buffer;
};