mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 04:50:14 +02:00
Simplify object reading
No longer needs to read into an existing object after the last change, and reusing that function here too makes it less error prone.
This commit is contained in:
@@ -253,9 +253,8 @@ void WineBridge::handle_dispatch() {
|
||||
std::vector<std::vector<float>> output_buffers(plugin->numOutputs);
|
||||
|
||||
while (true) {
|
||||
AudioBuffers request;
|
||||
request =
|
||||
read_object(host_vst_process_replacing, request, process_buffer);
|
||||
auto request = read_object<AudioBuffers>(host_vst_process_replacing,
|
||||
process_buffer);
|
||||
|
||||
// The process functions expect a `float**` for their inputs and
|
||||
// their outputs
|
||||
|
||||
Reference in New Issue
Block a user