mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-17 06:00:03 +02:00
Use a Logger to print initialization errors
This way the errors will get written to a file instead of to STDERR if `YABRIDGE_DEBUG_FILE` is set.
This commit is contained in:
@@ -378,13 +378,13 @@ as the _Windows VST plugin_. The whole process works as follows:
|
||||
the `dispatcher()` and `audioMaster()` functions respectively. For operations
|
||||
involving the plugin editor there is also some extra glue in
|
||||
`WineBridge::dispatch_wrapper`. On the receiving end of the function calls,
|
||||
the `passthrough_event()` function calls the callback functions and handles
|
||||
the marshalling between our data types created by the `*DataConverter`
|
||||
classes and the VST API's different pointer types. This behaviour is
|
||||
separated from `receive_event()` so we can handle MIDI events separately.
|
||||
This is needed because a select few plugins only store pointers to the
|
||||
received events rather than copies of the objects. Because of this, the
|
||||
received event data must live at least until the next audio buffer gets
|
||||
the `passthrough_event()` function which calls the callback functions and
|
||||
handles the marshalling between our data types created by the
|
||||
`*DataConverter` classes and the VST API's different pointer types. This
|
||||
behaviour is separated from `receive_event()` so we can handle MIDI events
|
||||
separately. This is needed because a select few plugins only store pointers
|
||||
to the received events rather than copies of the objects. Because of this,
|
||||
the received event data must live at least until the next audio buffer gets
|
||||
processed so it needs to be stored temporarily.
|
||||
|
||||
6. The Wine VST host loads the Windows VST plugin and starts forwarding messages
|
||||
|
||||
Reference in New Issue
Block a user