fn dispatch(&self,
                opcode: plugin::OpCode,
                index: i32,
                value: isize,
                ptr: *mut c_void,
                opt: f32)
                -> isize {
        let dispatcher = unsafe {
            (*self.effect).dispatcher
        };
        if (dispatcher as *mut u8).is_null() {
            panic!("Plugin was not loaded correctly.");
        }
        dispatcher(self.effect, opcode.into(), index, value, ptr, opt)
    }
/// Send a dispatch message to the plugin.
Send a dispatch message to the plugin.
Send a dispatch message to the plugin .
fn dispatch(&self,
                opcode: plugin::OpCode,
                index: i32,
                value: isize,
                ptr: *mut c_void,
                opt: f32)
                -> isize {
        let dispatcher = unsafe {
            (*self.effect).dispatcher
        };
        if (dispatcher as *mut u8).is_null() {
            panic!("Plugin was not loaded correctly.");
        }
        dispatcher(self.effect, opcode.into(), index, value, ptr, opt)
    }
fn dispatch ( & self , opcode : plugin :: OpCode , index : i32 , value : isize , ptr : * mut c_void , opt : f32 ) -> isize { let dispatcher = unsafe { ( * self . effect ) . dispatcher } ; if ( dispatcher as * mut u8 ) . is_null ( ) { panic ! ( " " ) ; } dispatcher ( self . effect , opcode . into ( ) , index , value , ptr , opt ) }
Send a dispatch message to the plugin.
Send a dispatch message to the plugin .
&self
opcode
plugin::OpCode
index
i32
value
isize
ptr
*mut c_void
opt
f32
&self
opcode
plugin::OpCode
index
i32
value
isize
ptr
*mut c_void
opt
f32