pub enum LiveStreamLane {
AudioInput,
AudioOutput,
Midi,
Parameter,
Diagnostic,
}Expand description
One logical stream lane carried between the live runner and the host.
Variants§
AudioInput
Incoming audio (a source into the graph).
AudioOutput
Outgoing audio (a sink from the graph).
Midi
MIDI control events.
Parameter
Control-rate parameter updates.
Diagnostic
Diagnostic packets.
Implementations§
Source§impl LiveStreamLane
impl LiveStreamLane
Sourcepub fn wire_label(self) -> &'static str
pub fn wire_label(self) -> &'static str
Returns the stable wire label for this lane.
Sourcepub fn media(self) -> StreamMedia
pub fn media(self) -> StreamMedia
Returns the stream media kind this lane carries.
Sourcepub fn direction(self) -> StreamDirection
pub fn direction(self) -> StreamDirection
Returns the stream direction (source or sink) for this lane.
Sourcepub fn clock_domain(self) -> ClockDomain
pub fn clock_domain(self) -> ClockDomain
Returns the clock domain this lane runs in.
Sourcepub fn metadata(self, capacity: usize) -> Result<StreamMetadata>
pub fn metadata(self, capacity: usize) -> Result<StreamMetadata>
Builds the stream metadata for this lane with a bounded buffer of
capacity items.
Sourcepub fn realtime_envelope(
self,
sequence: u64,
ticks: Vec<Tick>,
packet: StreamPacket,
) -> Result<StreamEnvelope>
pub fn realtime_envelope( self, sequence: u64, ticks: Vec<Tick>, packet: StreamPacket, ) -> Result<StreamEnvelope>
Wraps a packet in an envelope using the realtime local audio profile.
Sourcepub fn buffered_preview_envelope(
self,
sequence: u64,
ticks: Vec<Tick>,
packet: StreamPacket,
) -> Result<StreamEnvelope>
pub fn buffered_preview_envelope( self, sequence: u64, ticks: Vec<Tick>, packet: StreamPacket, ) -> Result<StreamEnvelope>
Wraps a packet in an envelope using the buffered PCM preview profile.
Sourcepub fn lan_buffered_preview_envelope(
self,
sequence: u64,
ticks: Vec<Tick>,
packet: StreamPacket,
) -> Result<StreamEnvelope>
pub fn lan_buffered_preview_envelope( self, sequence: u64, ticks: Vec<Tick>, packet: StreamPacket, ) -> Result<StreamEnvelope>
Wraps a packet in an envelope using the LAN buffered audio preview profile.
Trait Implementations§
Source§impl Clone for LiveStreamLane
impl Clone for LiveStreamLane
Source§fn clone(&self) -> LiveStreamLane
fn clone(&self) -> LiveStreamLane
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LiveStreamLane
Source§impl Debug for LiveStreamLane
impl Debug for LiveStreamLane
impl Eq for LiveStreamLane
Source§impl PartialEq for LiveStreamLane
impl PartialEq for LiveStreamLane
impl StructuralPartialEq for LiveStreamLane
Auto Trait Implementations§
impl Freeze for LiveStreamLane
impl RefUnwindSafe for LiveStreamLane
impl Send for LiveStreamLane
impl Sync for LiveStreamLane
impl Unpin for LiveStreamLane
impl UnsafeUnpin for LiveStreamLane
impl UnwindSafe for LiveStreamLane
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more