mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +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
|
// stored in an array to which a pointer is stored in
|
||||||
// `data`, with the return value from the event determines
|
// `data`, with the return value from the event determines
|
||||||
// how much data the plugin has written
|
// how much data the plugin has written
|
||||||
return std::vector<uint8_t>(
|
const uint8_t* chunk_data = *static_cast<uint8_t**>(data);
|
||||||
binary_buffer.begin(),
|
return std::vector<uint8_t>(chunk_data,
|
||||||
binary_buffer.begin() + return_value);
|
chunk_data + return_value);
|
||||||
},
|
},
|
||||||
[&](VstIOProperties& props) -> EventResposnePayload {
|
[&](VstIOProperties& props) -> EventResposnePayload {
|
||||||
return props;
|
return props;
|
||||||
|
|||||||
Reference in New Issue
Block a user