mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Revert "Clean up chunk buffer retrieval for effGetChunk"
This reverts commit fb8fe035d8.
I was getting things mixed up.
This commit is contained in:
+3
-3
@@ -269,9 +269,9 @@ void passthrough_event(boost::asio::local::stream_protocol::socket& socket,
|
||||
// stored in an array to which a pointer is stored in
|
||||
// `data`, with the return value from the event determines
|
||||
// how much data the plugin has written
|
||||
return std::vector<uint8_t>(
|
||||
binary_buffer.begin(),
|
||||
binary_buffer.begin() + return_value);
|
||||
const uint8_t* chunk_data = *static_cast<uint8_t**>(data);
|
||||
return std::vector<uint8_t>(chunk_data,
|
||||
chunk_data + return_value);
|
||||
},
|
||||
[&](VstIOProperties& props) -> EventResposnePayload {
|
||||
return props;
|
||||
|
||||
Reference in New Issue
Block a user