mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 20:40:11 +02:00
Implement a serializable vector based IBStream
We can now use this for implementing reading and writing preset data.
This commit is contained in:
@@ -53,9 +53,9 @@ constexpr size_t max_midi_events = max_buffer_size / sizeof(size_t);
|
||||
[[maybe_unused]] constexpr size_t max_string_length = 64;
|
||||
|
||||
/**
|
||||
* The size for a buffer in which we're receiving chunks. Allow for up to 50 MB
|
||||
* chunks. Hopefully no plugin will come anywhere near this limit, but it will
|
||||
* add up when plugins start to audio samples in their presets.
|
||||
* The maximum size for the buffer we're receiving chunks in. Allows for up to
|
||||
* 50 MB chunks. Hopefully no plugin will come anywhere near this limit, but it
|
||||
* will add up when plugins start to audio include samples in their presets.
|
||||
*/
|
||||
constexpr size_t binary_buffer_size = 50 << 20;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user