Trait windows::Win32::Media::Audio::DirectMusic::IDirectMusicSynthSink_Impl
pub trait IDirectMusicSynthSink_Impl: Sized {
// Required methods
fn Init(&self, psynth: Option<&IDirectMusicSynth>) -> Result<()>;
fn SetMasterClock(&self, pclock: Option<&IReferenceClock>) -> Result<()>;
fn GetLatencyClock(&self) -> Result<IReferenceClock>;
fn Activate(&self, fenable: BOOL) -> Result<()>;
fn SampleToRefTime(
&self,
llsampletime: i64,
prftime: *mut i64
) -> Result<()>;
fn RefTimeToSample(
&self,
rftime: i64,
pllsampletime: *mut i64
) -> Result<()>;
fn SetDirectSound(
&self,
pdirectsound: Option<&IDirectSound>,
pdirectsoundbuffer: Option<&IDirectSoundBuffer>
) -> Result<()>;
fn GetDesiredBufferSize(
&self,
pdwbuffersizeinsamples: *mut u32
) -> Result<()>;
}
Required Methods§
fn Init(&self, psynth: Option<&IDirectMusicSynth>) -> Result<()>
fn SetMasterClock(&self, pclock: Option<&IReferenceClock>) -> Result<()>
fn GetLatencyClock(&self) -> Result<IReferenceClock>
fn Activate(&self, fenable: BOOL) -> Result<()>
fn SampleToRefTime(&self, llsampletime: i64, prftime: *mut i64) -> Result<()>
fn RefTimeToSample(&self, rftime: i64, pllsampletime: *mut i64) -> Result<()>
fn SetDirectSound( &self, pdirectsound: Option<&IDirectSound>, pdirectsoundbuffer: Option<&IDirectSoundBuffer> ) -> Result<()>
fn GetDesiredBufferSize(&self, pdwbuffersizeinsamples: *mut u32) -> Result<()>
Object Safety§
This trait is not object safe.