Expand description
Host-device stream backend substrate.
The crate currently implements the selected RTP-MIDI subset without opening sockets or platform devices during normal validation. Host callbacks only receive a cloneable bounded queue handle and may enqueue packets through non-blocking calls. Device smoke tests are ignored by default; run them manually only when a matching external peer or platform device is available.
Structs§
- Audio
Device Card - Export-record-style descriptor for an audio device.
- Audio
Placement Request - Caller-side request to place an audio graph on a registered audio site.
- Audio
Provider Entries - FFI-free table of provider entry points keyed by provider library id.
- Audio
Provider Host - Host that loads audio providers through the kernel loader and registers sites.
- Audio
Router - Registry and dispatcher for audio placement sites.
- Audio
Site Key - Stable runtime key for an audio evaluation site.
- Device
Catalog - Registry of stream-device providers.
- Device
Record - Catalog row for a host-visible stream device.
- Fake
Backend - Host-independent backend that opens push streams without hardware.
- Host
Backend Info - Stable metadata describing a host backend.
- Host
Backend Registry - Deterministic registry of host stream backends.
- Host
Callback Cassette - Deterministic recording of host callback items.
- Host
Callback Queue - Cloneable handle host callbacks use to enqueue packets into a stream.
- Host
Clock Info - Clock metadata for an opened host stream.
- Host
Device Inventory - Devices and ports reported by a backend enumeration.
- Host
Device Spec - Specification of an enumerated host device.
- Host
Latency Info - Latency estimate for an opened host stream.
- Host
Open Plan - Resolved plan describing how a device would be opened.
- Host
Open Stream - Open stream plus host-side callback queue.
- Host
Port Spec - Addressable host port owned by an enumerated device.
- Host
Reconnect Policy - Reconnect behavior accepted by a host backend.
- Host
Stream Config - Accepted stream configuration returned by a host backend.
- Host
Stream Config Request - Request supplied to a host backend when opening a stream.
- LanPlacement
Report - Outcome of planning a LAN fragment placement.
- LanPlacement
Request - Request to place a stream fragment on a LAN peer under a chosen mode.
- Midi
Live Eval Site - Live MIDI evaluation site opened from a cataloged device record.
- Modeled
Audio Provider - Deterministic audio provider used by default validation.
- Modeled
Audio Site - Modeled audio site backed by an existing host backend.
- Modeled
Midi Provider - Deterministic MIDI provider used by default validation.
- Process
Ring Snapshot - Capacity snapshot for steady-state process-site checks.
- Process
Shared Ring - Preallocated bounded ring used at process-site stream boundaries.
- Router
Audio Provider Registrar - Registrar that wires provider sites into an
AudioRouter. - RtpMidi
Backend - Host backend implementing the selected RTP-MIDI input subset.
- RtpMidi
Port - An opened RTP-MIDI source port and its callback queue.
Enums§
- Device
Direction - Direction supported by a cataloged stream device.
- Device
Kind - Stream-device media family surfaced by the shared device catalog.
- Host
Backend Capability - Capability advertised by a host backend.
- Host
Direction - Direction of a host stream relative to the device.
- LanPlacement
Mode - Placement mode for a stream fragment hosted on a LAN peer.
- Placement
- Placement tier for a host-visible stream device.
- Process
Ring Push - Push result for the bounded process-site ring.
Constants§
- AUDIO_
PROVIDER_ ABI_ VERSION - ABI version currently accepted by the host-side audio provider registrar.
- AUDIO_
PROVIDER_ ENTRY_ V1 - Stable entry symbol exported by a loadable audio provider.
Traits§
- Audio
Provider Registrar - Host-supplied registration surface for loadable audio providers.
- Audio
Site - Runtime-openable audio placement target.
- Device
Provider - Provider of cataloged stream devices.
- Host
Backend - Backend contract for host-controlled stream devices.
- Host
Stream Driver - Native or external stream resource attached to an opened host stream.
- Stream
Eval Site - Open stream site returned by a device catalog.
Functions§
- audio_
device_ export_ symbol - Stable export symbol for an audio device owned by a loaded lib.
- fake_
backend_ symbol - Stable fake backend id.
- lan_
bar_ delay_ mode_ symbol - Stable mode name for musically aligned bar-delay collaboration.
- lan_
experimental_ remote_ sample_ capability - Capability required to try pinned sample-domain placement across LAN.
- lan_
jitter_ buffered_ mode_ symbol - Stable mode name for jitter-buffered LAN placement.
- lan_
peer_ site_ symbol - Stable site name for a non-real-time node hosted by a LAN peer.
- lan_
pinned_ sample_ experimental_ diagnostic - Diagnostic emitted when experimental pinned sample-domain LAN placement is used.
- lan_
pinned_ sample_ refusal_ diagnostic - Diagnostic emitted when a pinned sample-domain node is refused across LAN.
- missing_
capability_ card_ expr - Emits a browse card for a missing backend capability.
- native_
audio_ provider_ capability - Capability required before a native audio provider can be loaded.
- rtp_
midi_ backend_ symbol - Returns the stable symbol identifying the RTP-MIDI backend.
- stream_
host_ capability - Returns the capability name gating host stream device access.
Type Aliases§
- Audio
Provider Entry - Host-callable audio provider entry point.