mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-10 14:22:16 +02:00
Swap Boost.Container's small_vector out for LLVM's
This implementation misses a shrink to fit function, but reassigning the vector with a fresh one should be equivalent.
This commit is contained in:
@@ -196,7 +196,7 @@ class Vst2PluginBridge : PluginBridge<Vst2Sockets<std::jthread>> {
|
||||
* we receive so we can send them to host on the audio thread at the end of
|
||||
* `process_replacing()`.
|
||||
*/
|
||||
boost::container::small_vector<DynamicVstEvents, 1> incoming_midi_events_;
|
||||
llvm::SmallVector<DynamicVstEvents, 1> incoming_midi_events_;
|
||||
/**
|
||||
* Mutex for locking the above event queue, since recieving and processing
|
||||
* now happens in two different threads.
|
||||
|
||||
@@ -12,6 +12,7 @@ vst2_plugin_sources = files(
|
||||
'../common/plugins.cpp',
|
||||
'../common/process.cpp',
|
||||
'../common/utils.cpp',
|
||||
'../include/llvm/small-vector.cpp',
|
||||
'bridges/vst2.cpp',
|
||||
'host-process.cpp',
|
||||
'utils.cpp',
|
||||
@@ -82,6 +83,7 @@ vst3_plugin_sources = files(
|
||||
'../common/plugins.cpp',
|
||||
'../common/process.cpp',
|
||||
'../common/utils.cpp',
|
||||
'../include/llvm/small-vector.cpp',
|
||||
'bridges/vst3.cpp',
|
||||
'bridges/vst3-impls/plugin-factory-proxy.cpp',
|
||||
'bridges/vst3-impls/plug-view-proxy.cpp',
|
||||
|
||||
Reference in New Issue
Block a user