windows::Media::Audio

Trait IAudioInputNode_Impl

pub trait IAudioInputNode_Impl: IAudioNode_Impl + IClosable_Impl {
    // Required methods
    fn OutgoingConnections(&self) -> Result<IVectorView<AudioGraphConnection>>;
    fn AddOutgoingConnection(
        &self,
        destination: Ref<'_, IAudioNode>,
    ) -> Result<()>;
    fn AddOutgoingConnectionWithGain(
        &self,
        destination: Ref<'_, IAudioNode>,
        gain: f64,
    ) -> Result<()>;
    fn RemoveOutgoingConnection(
        &self,
        destination: Ref<'_, IAudioNode>,
    ) -> Result<()>;
}

Required Methods§

fn OutgoingConnections(&self) -> Result<IVectorView<AudioGraphConnection>>

fn AddOutgoingConnection(&self, destination: Ref<'_, IAudioNode>) -> Result<()>

fn AddOutgoingConnectionWithGain( &self, destination: Ref<'_, IAudioNode>, gain: f64, ) -> Result<()>

fn RemoveOutgoingConnection( &self, destination: Ref<'_, IAudioNode>, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§