pub trait IMFSourceBuffer_Impl: Sized {
    // Required methods
    fn GetUpdating(&self) -> BOOL;
    fn GetBuffered(&self) -> Result<IMFMediaTimeRange>;
    fn GetTimeStampOffset(&self) -> f64;
    fn SetTimeStampOffset(&self, offset: f64) -> Result<()>;
    fn GetAppendWindowStart(&self) -> f64;
    fn SetAppendWindowStart(&self, time: f64) -> Result<()>;
    fn GetAppendWindowEnd(&self) -> f64;
    fn SetAppendWindowEnd(&self, time: f64) -> Result<()>;
    fn Append(&self, pdata: *const u8, len: u32) -> Result<()>;
    fn AppendByteStream(
        &self,
        pstream: Option<&IMFByteStream>,
        pmaxlen: *const u64,
    ) -> Result<()>;
    fn Abort(&self) -> Result<()>;
    fn Remove(&self, start: f64, end: f64) -> Result<()>;
}

Required Methods§

fn GetUpdating(&self) -> BOOL

fn GetBuffered(&self) -> Result<IMFMediaTimeRange>

fn GetTimeStampOffset(&self) -> f64

fn SetTimeStampOffset(&self, offset: f64) -> Result<()>

fn GetAppendWindowStart(&self) -> f64

fn SetAppendWindowStart(&self, time: f64) -> Result<()>

fn GetAppendWindowEnd(&self) -> f64

fn SetAppendWindowEnd(&self, time: f64) -> Result<()>

fn Append(&self, pdata: *const u8, len: u32) -> Result<()>

fn AppendByteStream( &self, pstream: Option<&IMFByteStream>, pmaxlen: *const u64, ) -> Result<()>

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

fn Remove(&self, start: f64, end: f64) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§