Commit Graph

13 Commits

Author SHA1 Message Date
Robbert van der Helm 9f5066a293 Avoid allocations when reading VST3 process data
On the plugin side. We still need to do a lot of optimizations
elsewhere.
2021-05-06 17:50:41 +02:00
Robbert van der Helm 4937010557 Fix some of the clang-tidy lints 2021-04-14 16:09:54 +02:00
Robbert van der Helm 04d0ff0949 Fix serializing silence flags
We didn't initialize the field, and we also didn't copy the updated
value back (since everything else is a pointer to the original data).
This fixes audio channels in REAPER randomly being silence, as this
field would otherwise be uninitialized.

Thanks a lot to @kytdkut for finding this issue!
2021-01-26 23:59:56 +01:00
Robbert van der Helm 34f8d3b1d2 Update the copyright notices for 2021 2021-01-01 18:54:02 +01:00
Robbert van der Helm ecd9d6c2df Change YaAudioBusBuffers parameter order
So it matches the other constructor.
2020-12-30 15:55:58 +01:00
Robbert van der Helm 1c7a5e08a0 Check for null pointers in input parameter changes
This is not allowed to be a null pointer, but the SDK's plugin validator
will pass a null pointer anyways.
2020-12-29 17:32:33 +01:00
Robbert van der Helm 1ce12227fb Add logging for IAudioProcessor::process()
This is super verbose, but I'm sure it's going to be useful at some
point.
2020-12-17 15:12:19 +01:00
Robbert van der Helm 2bf98d0a97 Implement writing back YaProcessDataResponse
Everything around `ProcessData` is now fully implemented and should in
theory work.
2020-12-16 18:14:28 +01:00
Robbert van der Helm 6f38f8400c Implement process call creation 2020-12-16 17:42:12 +01:00
Robbert van der Helm 95a4ef8eed Implement reconstructing ProcessData 2020-12-16 17:36:49 +01:00
Robbert van der Helm 3771ed6870 Add more YaProcessData boilerplate 2020-12-16 17:14:42 +01:00
Robbert van der Helm d1c5d4c4ac Implement YaProcessData reading 2020-12-15 23:11:59 +01:00
Robbert van der Helm f1aefc0a9d Finish implementing YaAudioBusBuffers 2020-12-15 22:32:42 +01:00