Trait windows::Win32::Media::Speech::ISpAudio_Impl
pub trait ISpAudio_Impl: Sized + ISpStreamFormat_Impl {
// Required methods
fn SetState(&self, newstate: SPAUDIOSTATE, ullreserved: u64) -> Result<()>;
fn SetFormat(
&self,
rguidfmtid: *const GUID,
pwaveformatex: *const WAVEFORMATEX,
) -> Result<()>;
fn GetStatus(&self, pstatus: *mut SPAUDIOSTATUS) -> Result<()>;
fn SetBufferInfo(&self, pbuffinfo: *const SPAUDIOBUFFERINFO) -> Result<()>;
fn GetBufferInfo(&self, pbuffinfo: *mut SPAUDIOBUFFERINFO) -> Result<()>;
fn GetDefaultFormat(
&self,
pformatid: *mut GUID,
ppcomemwaveformatex: *mut *mut WAVEFORMATEX,
) -> Result<()>;
fn EventHandle(&self) -> HANDLE;
fn GetVolumeLevel(&self, plevel: *mut u32) -> Result<()>;
fn SetVolumeLevel(&self, level: u32) -> Result<()>;
fn GetBufferNotifySize(&self, pcbsize: *mut u32) -> Result<()>;
fn SetBufferNotifySize(&self, cbsize: u32) -> Result<()>;
}
Required Methods§
fn SetState(&self, newstate: SPAUDIOSTATE, ullreserved: u64) -> Result<()>
fn SetFormat( &self, rguidfmtid: *const GUID, pwaveformatex: *const WAVEFORMATEX, ) -> Result<()>
fn GetStatus(&self, pstatus: *mut SPAUDIOSTATUS) -> Result<()>
fn SetBufferInfo(&self, pbuffinfo: *const SPAUDIOBUFFERINFO) -> Result<()>
fn GetBufferInfo(&self, pbuffinfo: *mut SPAUDIOBUFFERINFO) -> Result<()>
fn GetDefaultFormat( &self, pformatid: *mut GUID, ppcomemwaveformatex: *mut *mut WAVEFORMATEX, ) -> Result<()>
fn EventHandle(&self) -> HANDLE
fn GetVolumeLevel(&self, plevel: *mut u32) -> Result<()>
fn SetVolumeLevel(&self, level: u32) -> Result<()>
fn GetBufferNotifySize(&self, pcbsize: *mut u32) -> Result<()>
fn SetBufferNotifySize(&self, cbsize: u32) -> Result<()>
Object Safety§
This trait is not object safe.