Expand description
Packet payloads carried by stream envelopes.
StreamPacket is the umbrella over the concrete payload kinds an
envelope can hold: PcmPacket audio frames, MidiPacket events,
StreamDiagnostic messages, and opaque DataPacket values. Each
payload round-trips to and from a self-describing Expr map tagged with
a stream/packet/* symbol, so packets can be serialized, interned as
kernel data (StreamPacket::intern_ref), and reconstructed.
The kernel defines the Expr/Datum/datum-store contract; this module
supplies the concrete streaming-fabric payload model on top of it.
Structs§
- Data
Packet - An opaque structured payload: a kind-tagged arbitrary
Exprvalue. - Midi
Packet - A MIDI payload: an ordered run of
MidiPacketEvents sharing one TPQ resolution. - Midi
Packet Event - A single timed MIDI event within a
MidiPacket. - PcmPacket
- A block of interleaved PCM audio samples.
- Stream
Diagnostic - A diagnostic payload: a categorized human-readable message carried in-band on a stream.
Enums§
- PcmSample
Format - Sample encoding of a
PcmPacket. - Stream
Packet - Umbrella over every payload kind a stream envelope can carry.