Implement a serializable vector based IBStream

We can now use this for implementing reading and writing preset data.
This commit is contained in:
Robbert van der Helm
2020-12-14 00:02:31 +01:00
parent 42664be378
commit c463543ac9
3 changed files with 202 additions and 4 deletions
+3 -3
View File
@@ -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;