Trait IDirectMusicSynth8_Impl
pub trait IDirectMusicSynth8_Impl: IDirectMusicSynth_Impl {
// Required methods
fn PlayVoice(
&self,
rt: i64,
dwvoiceid: u32,
dwchannelgroup: u32,
dwchannel: u32,
dwdlid: u32,
prpitch: i32,
vrvolume: i32,
stvoicestart: u64,
stloopstart: u64,
stloopend: u64,
) -> Result<()>;
fn StopVoice(&self, rt: i64, dwvoiceid: u32) -> Result<()>;
fn GetVoiceState(
&self,
dwvoice: *mut u32,
cbvoice: u32,
dwvoicestate: *mut DMUS_VOICE_STATE,
) -> Result<()>;
fn Refresh(&self, dwdownloadid: u32, dwflags: u32) -> Result<()>;
fn AssignChannelToBuses(
&self,
dwchannelgroup: u32,
dwchannel: u32,
pdwbuses: *mut u32,
cbuses: u32,
) -> Result<()>;
}
Required Methods§
fn PlayVoice( &self, rt: i64, dwvoiceid: u32, dwchannelgroup: u32, dwchannel: u32, dwdlid: u32, prpitch: i32, vrvolume: i32, stvoicestart: u64, stloopstart: u64, stloopend: u64, ) -> Result<()>
fn StopVoice(&self, rt: i64, dwvoiceid: u32) -> Result<()>
fn GetVoiceState( &self, dwvoice: *mut u32, cbvoice: u32, dwvoicestate: *mut DMUS_VOICE_STATE, ) -> Result<()>
fn Refresh(&self, dwdownloadid: u32, dwflags: u32) -> Result<()>
fn AssignChannelToBuses( &self, dwchannelgroup: u32, dwchannel: u32, pdwbuses: *mut u32, cbuses: u32, ) -> Result<()>
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.