pub trait IXAudio2VoiceCallback_Impl: Sized {
    // Required methods
    fn OnVoiceProcessingPassStart(&self, bytesrequired: u32);
    fn OnVoiceProcessingPassEnd(&self);
    fn OnStreamEnd(&self);
    fn OnBufferStart(&self, pbuffercontext: *mut c_void);
    fn OnBufferEnd(&self, pbuffercontext: *mut c_void);
    fn OnLoopEnd(&self, pbuffercontext: *mut c_void);
    fn OnVoiceError(&self, pbuffercontext: *mut c_void, error: HRESULT);
}

Required Methods§

fn OnVoiceProcessingPassStart(&self, bytesrequired: u32)

fn OnVoiceProcessingPassEnd(&self)

fn OnStreamEnd(&self)

fn OnBufferStart(&self, pbuffercontext: *mut c_void)

fn OnBufferEnd(&self, pbuffercontext: *mut c_void)

fn OnLoopEnd(&self, pbuffercontext: *mut c_void)

fn OnVoiceError(&self, pbuffercontext: *mut c_void, error: HRESULT)

Object Safety§

This trait is not object safe.

Implementors§