Skip to main content

Crate sim_lib_stream_host

Crate sim_lib_stream_host 

Source
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§

AudioDeviceCard
Export-record-style descriptor for an audio device.
AudioPlacementRequest
Caller-side request to place an audio graph on a registered audio site.
AudioProviderEntries
FFI-free table of provider entry points keyed by provider library id.
AudioProviderHost
Host that loads audio providers through the kernel loader and registers sites.
AudioRouter
Registry and dispatcher for audio placement sites.
AudioSiteKey
Stable runtime key for an audio evaluation site.
DeviceCatalog
Registry of stream-device providers.
DeviceRecord
Catalog row for a host-visible stream device.
FakeBackend
Host-independent backend that opens push streams without hardware.
HostBackendInfo
Stable metadata describing a host backend.
HostBackendRegistry
Deterministic registry of host stream backends.
HostCallbackCassette
Deterministic recording of host callback items.
HostCallbackQueue
Cloneable handle host callbacks use to enqueue packets into a stream.
HostClockInfo
Clock metadata for an opened host stream.
HostDeviceInventory
Devices and ports reported by a backend enumeration.
HostDeviceSpec
Specification of an enumerated host device.
HostLatencyInfo
Latency estimate for an opened host stream.
HostOpenPlan
Resolved plan describing how a device would be opened.
HostOpenStream
Open stream plus host-side callback queue.
HostPortSpec
Addressable host port owned by an enumerated device.
HostReconnectPolicy
Reconnect behavior accepted by a host backend.
HostStreamConfig
Accepted stream configuration returned by a host backend.
HostStreamConfigRequest
Request supplied to a host backend when opening a stream.
LanPlacementReport
Outcome of planning a LAN fragment placement.
LanPlacementRequest
Request to place a stream fragment on a LAN peer under a chosen mode.
MidiLiveEvalSite
Live MIDI evaluation site opened from a cataloged device record.
ModeledAudioProvider
Deterministic audio provider used by default validation.
ModeledAudioSite
Modeled audio site backed by an existing host backend.
ModeledMidiProvider
Deterministic MIDI provider used by default validation.
ProcessRingSnapshot
Capacity snapshot for steady-state process-site checks.
ProcessSharedRing
Preallocated bounded ring used at process-site stream boundaries.
RouterAudioProviderRegistrar
Registrar that wires provider sites into an AudioRouter.
RtpMidiBackend
Host backend implementing the selected RTP-MIDI input subset.
RtpMidiPort
An opened RTP-MIDI source port and its callback queue.

Enums§

DeviceDirection
Direction supported by a cataloged stream device.
DeviceKind
Stream-device media family surfaced by the shared device catalog.
HostBackendCapability
Capability advertised by a host backend.
HostDirection
Direction of a host stream relative to the device.
LanPlacementMode
Placement mode for a stream fragment hosted on a LAN peer.
Placement
Placement tier for a host-visible stream device.
ProcessRingPush
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§

AudioProviderRegistrar
Host-supplied registration surface for loadable audio providers.
AudioSite
Runtime-openable audio placement target.
DeviceProvider
Provider of cataloged stream devices.
HostBackend
Backend contract for host-controlled stream devices.
HostStreamDriver
Native or external stream resource attached to an opened host stream.
StreamEvalSite
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§

AudioProviderEntry
Host-callable audio provider entry point.