mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 20:10:13 +02:00
Implement IAudioProcessor::process()
With this the entire `IAudioProcessor` interface has been implemented and in theory it should now be possible to process audio and events. Logging for these requests still has to be implemented separately.
This commit is contained in:
@@ -200,9 +200,12 @@ tresult PLUGIN_API YaComponentPluginImpl::setProcessing(TBool state) {
|
||||
|
||||
tresult PLUGIN_API
|
||||
YaComponentPluginImpl::process(Steinberg::Vst::ProcessData& data) {
|
||||
// TODO: Implement
|
||||
bridge.logger.log("TODO: IAudioProcessor::process()");
|
||||
return Steinberg::kNotImplemented;
|
||||
ProcessResponse response = bridge.send_message(YaComponent::Process{
|
||||
.instance_id = arguments.instance_id, .data = data});
|
||||
|
||||
response.output_data.write_back_outputs(data);
|
||||
|
||||
return response.result;
|
||||
}
|
||||
|
||||
uint32 PLUGIN_API YaComponentPluginImpl::getTailSamples() {
|
||||
|
||||
Reference in New Issue
Block a user