pub enum AudioRenderThreadMsg {
Show 16 variants
CreateNode(AudioNodeInit, Sender<NodeId>, ChannelInfo),
ConnectPorts(PortId<OutputPort>, PortId<InputPort>),
MessageNode(NodeId, AudioNodeMessage),
Resume(Sender<StateChangeResult>),
Suspend(Sender<StateChangeResult>),
Close(Sender<StateChangeResult>),
SinkNeedData,
GetCurrentTime(Sender<f64>),
DisconnectAllFrom(NodeId),
DisconnectOutput(PortId<OutputPort>),
DisconnectBetween(NodeId, NodeId),
DisconnectTo(NodeId, PortId<InputPort>),
DisconnectOutputBetween(PortId<OutputPort>, NodeId),
DisconnectOutputBetweenTo(PortId<OutputPort>, PortId<InputPort>),
SetSinkEosCallback(Box<dyn Fn(Box<dyn AsRef<[f32]>>) + Send + Sync + 'static>),
SetMute(bool),
}
Variants§
CreateNode(AudioNodeInit, Sender<NodeId>, ChannelInfo)
ConnectPorts(PortId<OutputPort>, PortId<InputPort>)
MessageNode(NodeId, AudioNodeMessage)
Resume(Sender<StateChangeResult>)
Suspend(Sender<StateChangeResult>)
Close(Sender<StateChangeResult>)
SinkNeedData
GetCurrentTime(Sender<f64>)
DisconnectAllFrom(NodeId)
DisconnectOutput(PortId<OutputPort>)
DisconnectBetween(NodeId, NodeId)
DisconnectTo(NodeId, PortId<InputPort>)
DisconnectOutputBetween(PortId<OutputPort>, NodeId)
DisconnectOutputBetweenTo(PortId<OutputPort>, PortId<InputPort>)
SetSinkEosCallback(Box<dyn Fn(Box<dyn AsRef<[f32]>>) + Send + Sync + 'static>)
SetMute(bool)
Auto Trait Implementations§
impl Freeze for AudioRenderThreadMsg
impl !RefUnwindSafe for AudioRenderThreadMsg
impl Send for AudioRenderThreadMsg
impl !Sync for AudioRenderThreadMsg
impl Unpin for AudioRenderThreadMsg
impl !UnwindSafe for AudioRenderThreadMsg
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