Expand description
Control framing and deterministic host supervision from ADR 0021.
Re-exports§
pub use editor::EditorAction;pub use editor::EditorImage;pub use editor::EditorPlatform;pub use editor::EditorReply;pub use editor::EditorStatus;pub use editor::ParentWindow;pub use processing::BusConfiguration;pub use processing::Capabilities;pub use processing::ProcessingSetup;
Modules§
- editor
- Framework-independent native editor operations. Unsupported native features return RequestError; no operation falls back to loading code in the parent.
- layout
- Speaker order is ascending VST 3 speaker bit, never channel-count guessing.
- processing
- Shared processing configuration. Native bus indices are never collapsed.
- state
- Versioned VST 3 state envelope. VST 2 chunks retain their native representation.
Structs§
- Bus
- BusInfo
- A bus as the plugin declares it, before any is activated.
- Class
Info - Frame
- Host
Watch - Parameter
- Plugin
Error - State
History - Two committed state blobs. A failed restore of the newest blob selects the previous blob without destroying either copy.
- Unknown
Frame
Enums§
- Action
- What the caller does next.
Kill, a crash’sEnterFallbackandDisableall leave the engine on the fallback path until a laterLeaveFallback.Disablealso ends the process if it is still alive (the third failure can be a hang). - BusKind
- What a declared audio bus is for.
- Codec
Error - Decoded
Frame - Disable
Reason - Edit
Phase - Kill
Reason - Message
- Plugin
Format - Received
- Request
Kind - Sample
Format - Watch
State
Constants§
- MAGIC
- MAX_
MESSAGE_ BYTES - MAX_
STATE_ BYTES - MAX_
STRING_ BYTES - Longest UTF-8 string in a message. Windows long paths are why it is above MAX_PATH.
- PROTOCOL_
MAJOR - PROTOCOL_
MINOR
Functions§
- decode_
frame - duration_
ms - encode_
frame - read_
frame - Reads one frame. Its 8-byte metadata is read first, and the declared length
is rejected before allocating the body.
Ok(None)is a clean EOF before a new frame; a partial frame is an error. - write_
frame