Prepared processing and registration¶
NativeAaxProcessor::processRawLayout and its admitted form accept planar host-f32
inputs/outputs, a live stream, optional sidechain input index and known protected
metadata. HasMidiInput selects the prepared combined MIDI/control capacity;
legacy non-MIDI effects retain their control capacity. Calling legacy
processLayout on a raw profile refuses rather than silently dropping MIDI.
Distinct raw effect/multibus contexts append a notes field to their respective legacy prefix. The registered callback acquires one authoritative lock-free AUDIO admission token for raw, generated or dynamic-timing opted-in profiles. Nested or concurrent callbacks return Busy before a MIDI getter, storage, native processing, diagnostic or host-audio mutation. A failed admission cannot clear another live callback's token. The prior convenience admission APIs use that same profile flag.
Known Context, context-pointer list, owner-pointer, frame, optional sidechain,
input/output pointer arrays and sizeof(AAX_IMIDINode) base spans are admitted
before the virtual MIDI getter. A node may not overlap those spans or its owner.
The live stream header and complete packet span are checked against both
directional pointer-array metadata before copying. The prepared mapper rejects
sample/pointer metadata aliases with the node, stream, packets, callback metadata
and owner. Actual typed object liveness and array/sample capacity remain caller
obligations; the adapter never guesses a derived node's private extent. A known
fault silences only independently admitted writable prefixes, preserving protected
metadata and backing tails. Both raw main/aux directions support valid shared
input/output buffers through whole source capture.
The local RawRouting reference registers six exact public IDs under
org.ravet.rawrouting: mono/stereo main, two stereo detector/monitor source orders,
and mono/stereo timed delay. Registration uses checked public AddMIDINode, one
LocalInput node, channel mask 0xffff and the exact selected context field. Auxiliary
profiles register one input-only detector and one output-only monitor in the
prepared source order. This demonstrates reusable SDK mapping and initialized
callbacks, not Pro Tools routing. The external SDK bootstrap uses an authored
zero-class VST3 factory; its unrelated stock VST3-backed parameter creator is
unsupported. No SDK source is copied into RAVET.