Skip to main content

Module ipc

Module ipc 

Source
Expand description

Shared IPC helpers for out-of-process plugin processors.

Structs§

HostSpawnArgs
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 Drop impl of all OOP processors.
find_plugin_host_binary
Locate the maolan-plugin-host binary at runtime.
spawn_host
Spawn the unified maolan-plugin-host binary and set up SHM + event pipes.
wait_for_ready
Poll the SHM ready flag until it becomes non-zero or timeout elapses.