Expand description
Shared IPC helpers for out-of-process plugin processors.
Structs§
- Host
Spawn Args - Arguments for spawning a plugin host subprocess.
Functions§
- bypass_
copy_ inputs_ to_ outputs - Copy input buffers to output buffers when the plugin host is bypassed or crashed.
- configure_
shm_ ⚠header - Set the standard SHM header fields for a processing block.
- copy_
inputs_ ⚠to_ shm - Copy input AudioIO buffers to shared memory (bus 0).
- copy_
outputs_ ⚠from_ shm - Copy output shared memory (bus 1) back to AudioIO buffers.
- drop_
host - Shared shutdown logic for the
Dropimpl of all OOP processors. - find_
plugin_ host_ binary - Locate the
maolan-plugin-hostbinary at runtime. - spawn_
host - Spawn the unified
maolan-plugin-hostbinary and set up SHM + event pipes. - unique_
instance_ id - Generate a globally unique instance ID for plugin SHM naming.
- wait_
for_ ready - Poll the SHM ready flag until it becomes non-zero or
timeoutelapses.