Skip to main content

Module client

Module client 

Source
Expand description

The ferraus side of the host protocol: spawns one host process per plugin instance, sends framed JSON requests, moves audio through a memory-mapped temp file, and enforces the watchdog. A crash or timeout becomes ErrorKind::Plugin (exit code 7) naming the plugin and its path; the calling process is never affected.

Structs§

Activated
What activation reported.
PluginHost
One running host process with one plugin.

Enums§

PluginFormat
Plugin binary format.

Constants§

DEFAULT_WATCHDOG_S
Default watchdog: a host that makes no progress for this long is stopped.

Functions§

default_watchdog
The watchdog from FERRAUS_PLUGIN_WATCHDOG_S, else 60 s.
host_binary
Locate the host executable: FERRAUS_PLUGHOST / FERRAUS_PLUGHOST_VST3, then next to the running executable (and its parent, which covers target/<profile>/deps test binaries), then <prefix>/lib/ferraus/ beside the executable’s bin/ (system packages), then PATH.