windows::Win32::Media::Speech

Trait ISpStreamFormatConverter_Impl

pub trait ISpStreamFormatConverter_Impl: ISpStreamFormat_Impl {
    // Required methods
    fn SetBaseStream(
        &self,
        pstream: Ref<'_, ISpStreamFormat>,
        fsetformattobasestreamformat: BOOL,
        fwritetobasestream: BOOL,
    ) -> Result<()>;
    fn GetBaseStream(&self) -> Result<ISpStreamFormat>;
    fn SetFormat(
        &self,
        rguidformatidofconvertedstream: *const GUID,
        pwaveformatexofconvertedstream: *const WAVEFORMATEX,
    ) -> Result<()>;
    fn ResetSeekPosition(&self) -> Result<()>;
    fn ScaleConvertedToBaseOffset(
        &self,
        ulloffsetconvertedstream: u64,
    ) -> Result<u64>;
    fn ScaleBaseToConvertedOffset(
        &self,
        ulloffsetbasestream: u64,
    ) -> Result<u64>;
}

Required Methods§

fn SetBaseStream( &self, pstream: Ref<'_, ISpStreamFormat>, fsetformattobasestreamformat: BOOL, fwritetobasestream: BOOL, ) -> Result<()>

fn GetBaseStream(&self) -> Result<ISpStreamFormat>

fn SetFormat( &self, rguidformatidofconvertedstream: *const GUID, pwaveformatexofconvertedstream: *const WAVEFORMATEX, ) -> Result<()>

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

fn ScaleConvertedToBaseOffset( &self, ulloffsetconvertedstream: u64, ) -> Result<u64>

fn ScaleBaseToConvertedOffset(&self, ulloffsetbasestream: u64) -> Result<u64>

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§