Skip to main content

Crate sim_lib_stream_prelude

Crate sim_lib_stream_prelude 

Source
Expand description

Lisp-facing STREAM 6 prelude for memory streams.

This is the umbrella crate that composes the streaming fabric (core, audio, and combinators) into a single host-registered library. It installs capability-gated public functions for opening deterministic memory MIDI and PCM sources/sinks, running source-to-sink pipelines, applying combinator stages, and browsing stream handles as Cards.

Use install_stream_prelude_lib to install the prelude (and its stream-core prerequisites) into a runtime; StreamPreludeLib is the underlying sim_kernel::Lib for callers that manage loading directly. The stream_*_symbol and stream_*_capability helpers name the functions, values, and capabilities the library exports, and StreamHandle is the live handle threaded through every stream operation.

Structs§

RunReport
Summary of one StreamHandle::run over a source or pipeline.
StageHandle
Handle to a pipeline stage placed between a source and a sink.
StreamHandle
Live handle to a memory stream source, sink, or pipeline.
StreamPreludeLib
Host-registered library that installs the STREAM 6 prelude functions.

Functions§

install_stream_prelude_lib
Installs the stream prelude and its prerequisites into cx.
stream_card_symbol
Returns the stream/card function symbol.
stream_control_capability
Returns the stream.control capability name gating live control cells.
stream_memory_specs_symbol
Returns the stream/memory-specs value symbol.
stream_open_capability
Returns the stream.open capability name gating source/sink construction.
stream_open_symbol
Returns the stream/open function symbol.
stream_pipe_symbol
Returns the stream/pipe function symbol.
stream_read_capability
Returns the stream.read capability name gating packet reads.
stream_sink_packets_symbol
Returns the stream/sink-packets function symbol.
stream_transform_capability
Returns the stream.transform capability name gating shape-aware stages.
stream_write_capability
Returns the stream.write capability name gating sink writes.
stream_write_symbol
Returns the stream/write! function symbol.