pub trait IMediaParams_Impl: Sized {
    // Required methods
    fn GetParam(&self, dwparamindex: u32) -> Result<f32>;
    fn SetParam(&self, dwparamindex: u32, value: f32) -> Result<()>;
    fn AddEnvelope(
        &self,
        dwparamindex: u32,
        csegments: u32,
        penvelopesegments: *const MP_ENVELOPE_SEGMENT
    ) -> Result<()>;
    fn FlushEnvelope(
        &self,
        dwparamindex: u32,
        reftimestart: i64,
        reftimeend: i64
    ) -> Result<()>;
    fn SetTimeFormat(
        &self,
        guidtimeformat: &GUID,
        mptimedata: u32
    ) -> Result<()>;
}

Required Methods§

fn GetParam(&self, dwparamindex: u32) -> Result<f32>

fn SetParam(&self, dwparamindex: u32, value: f32) -> Result<()>

fn AddEnvelope( &self, dwparamindex: u32, csegments: u32, penvelopesegments: *const MP_ENVELOPE_SEGMENT ) -> Result<()>

fn FlushEnvelope( &self, dwparamindex: u32, reftimestart: i64, reftimeend: i64 ) -> Result<()>

fn SetTimeFormat(&self, guidtimeformat: &GUID, mptimedata: u32) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§