windows::Win32::Media::MediaFoundation

Trait IMFASFMultiplexer_Impl

pub trait IMFASFMultiplexer_Impl: IUnknownImpl {
    // Required methods
    fn Initialize(
        &self,
        picontentinfo: Ref<'_, IMFASFContentInfo>,
    ) -> Result<()>;
    fn SetFlags(&self, dwflags: u32) -> Result<()>;
    fn GetFlags(&self) -> Result<u32>;
    fn ProcessSample(
        &self,
        wstreamnumber: u16,
        pisample: Ref<'_, IMFSample>,
        hnstimestampadjust: i64,
    ) -> Result<()>;
    fn GetNextPacket(
        &self,
        pdwstatusflags: *mut u32,
        ppipacket: OutRef<'_, IMFSample>,
    ) -> Result<()>;
    fn Flush(&self) -> Result<()>;
    fn End(&self, picontentinfo: Ref<'_, IMFASFContentInfo>) -> Result<()>;
    fn GetStatistics(&self, wstreamnumber: u16) -> Result<ASF_MUX_STATISTICS>;
    fn SetSyncTolerance(&self, mssynctolerance: u32) -> Result<()>;
}

Required Methods§

fn Initialize(&self, picontentinfo: Ref<'_, IMFASFContentInfo>) -> Result<()>

fn SetFlags(&self, dwflags: u32) -> Result<()>

fn GetFlags(&self) -> Result<u32>

fn ProcessSample( &self, wstreamnumber: u16, pisample: Ref<'_, IMFSample>, hnstimestampadjust: i64, ) -> Result<()>

fn GetNextPacket( &self, pdwstatusflags: *mut u32, ppipacket: OutRef<'_, IMFSample>, ) -> Result<()>

fn Flush(&self) -> Result<()>

fn End(&self, picontentinfo: Ref<'_, IMFASFContentInfo>) -> Result<()>

fn GetStatistics(&self, wstreamnumber: u16) -> Result<ASF_MUX_STATISTICS>

fn SetSyncTolerance(&self, mssynctolerance: u32) -> 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§