pub struct ListenerConfig {
pub interface: String,
pub stream_id: u64,
pub destinations: Vec<MacAddress>,
pub format: StreamFormat,
pub sink: Sink,
pub recovered: Option<RecoveredClock>,
pub channel_map: Option<Vec<Option<u16>>>,
}Expand description
What a listener receives, and where it goes.
Fields§
§interface: String§stream_id: u64§destinations: Vec<MacAddress>Where the stream comes to: its multicast address, and in AVB Lite this computer’s own as well.
format: StreamFormat§sink: Sink§recovered: Option<RecoveredClock>The clock the stream carries, which it recovers for talkers to follow: a media clock’s from its timestamps, an audio stream’s from its presentation times.
channel_map: Option<Vec<Option<u16>>>For each of the sink’s channels, the stream channel it plays, none for silence, as a controller mapped them or as a stream of other channels than the sink’s fills it; the stream’s own channels, in order, when left out.
Trait Implementations§
Source§impl Clone for ListenerConfig
impl Clone for ListenerConfig
Source§impl Debug for ListenerConfig
impl Debug for ListenerConfig
Source§impl PartialEq for ListenerConfig
impl PartialEq for ListenerConfig
impl StructuralPartialEq for ListenerConfig
Auto Trait Implementations§
impl Forget for ListenerConfig
impl Freeze for ListenerConfig
impl RefUnwindSafe for ListenerConfig
impl Send for ListenerConfig
impl Sync for ListenerConfig
impl Unpin for ListenerConfig
impl UnsafeUnpin for ListenerConfig
impl UnwindSafe for ListenerConfig
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