Struct IXAudio2SourceVoice_Vtbl
#[repr(C)]pub struct IXAudio2SourceVoice_Vtbl {
pub base__: IXAudio2Voice_Vtbl,
pub Start: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT,
pub Stop: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT,
pub SubmitSourceBuffer: unsafe extern "system" fn(_: *mut c_void, _: *const XAUDIO2_BUFFER, _: *const XAUDIO2_BUFFER_WMA) -> HRESULT,
pub FlushSourceBuffers: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Discontinuity: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub ExitLoop: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub GetState: unsafe extern "system" fn(_: *mut c_void, _: *mut XAUDIO2_VOICE_STATE, _: u32),
pub SetFrequencyRatio: unsafe extern "system" fn(_: *mut c_void, _: f32, _: u32) -> HRESULT,
pub GetFrequencyRatio: unsafe extern "system" fn(_: *mut c_void, _: *mut f32),
pub SetSourceSampleRate: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
}Fields§
§base__: IXAudio2Voice_Vtbl§Start: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT§Stop: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32) -> HRESULT§SubmitSourceBuffer: unsafe extern "system" fn(_: *mut c_void, _: *const XAUDIO2_BUFFER, _: *const XAUDIO2_BUFFER_WMA) -> HRESULT§FlushSourceBuffers: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Discontinuity: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§ExitLoop: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§GetState: unsafe extern "system" fn(_: *mut c_void, _: *mut XAUDIO2_VOICE_STATE, _: u32)§SetFrequencyRatio: unsafe extern "system" fn(_: *mut c_void, _: f32, _: u32) -> HRESULT§GetFrequencyRatio: unsafe extern "system" fn(_: *mut c_void, _: *mut f32)§SetSourceSampleRate: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULTImplementations§
§impl IXAudio2SourceVoice_Vtbl
impl IXAudio2SourceVoice_Vtbl
pub const fn new<Identity: IXAudio2SourceVoice_Impl>() -> Self
Auto Trait Implementations§
impl Freeze for IXAudio2SourceVoice_Vtbl
impl RefUnwindSafe for IXAudio2SourceVoice_Vtbl
impl Send for IXAudio2SourceVoice_Vtbl
impl Sync for IXAudio2SourceVoice_Vtbl
impl Unpin for IXAudio2SourceVoice_Vtbl
impl UnwindSafe for IXAudio2SourceVoice_Vtbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more