pub struct Wrapper<P: Vst3Plugin> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<P: Vst3Plugin> Class for Wrapper<P>
impl<P: Vst3Plugin> Class for Wrapper<P>
Source§type Interfaces = (IComponent, IEditController, IAudioProcessor, IMidiMapping, INoteExpressionController, IProcessContextRequirements, IUnitInfo)
type Interfaces = (IComponent, IEditController, IAudioProcessor, IMidiMapping, INoteExpressionController, IProcessContextRequirements, IUnitInfo)
The list of interfaces implemented by this Rust type. Read more
Source§impl<P: Vst3Plugin> Default for Wrapper<P>
impl<P: Vst3Plugin> Default for Wrapper<P>
Source§impl<P: Vst3Plugin> Drop for Wrapper<P>
impl<P: Vst3Plugin> Drop for Wrapper<P>
Source§impl<P: Vst3Plugin> IAudioProcessorTrait for Wrapper<P>
impl<P: Vst3Plugin> IAudioProcessorTrait for Wrapper<P>
unsafe fn setBusArrangements( &self, inputs: *mut SpeakerArrangement, num_ins: int32, outputs: *mut SpeakerArrangement, num_outs: int32, ) -> tresult
unsafe fn getBusArrangement( &self, dir: BusDirection, index: i32, arr: *mut SpeakerArrangement, ) -> tresult
unsafe fn canProcessSampleSize(&self, symbolic_sample_size: int32) -> tresult
unsafe fn getLatencySamples(&self) -> uint32
unsafe fn setupProcessing(&self, setup: *mut ProcessSetup) -> tresult
unsafe fn setProcessing(&self, state: TBool) -> tresult
unsafe fn process(&self, data: *mut ProcessData) -> tresult
unsafe fn getTailSamples(&self) -> uint32
Source§impl<P: Vst3Plugin> IComponentTrait for Wrapper<P>
impl<P: Vst3Plugin> IComponentTrait for Wrapper<P>
unsafe fn getControllerClassId(&self, _class_id: *mut TUID) -> tresult
unsafe fn setIoMode(&self, _mode: IoMode) -> tresult
unsafe fn getBusCount(&self, type_: MediaType, dir: BusDirection) -> int32
unsafe fn getBusInfo( &self, type_: MediaType, dir: BusDirection, index: int32, info: *mut BusInfo, ) -> tresult
unsafe fn getRoutingInfo( &self, in_info: *mut RoutingInfo, out_info: *mut RoutingInfo, ) -> tresult
unsafe fn activateBus( &self, type_: MediaType, dir: BusDirection, index: int32, _state: TBool, ) -> tresult
unsafe fn setActive(&self, state: TBool) -> tresult
unsafe fn setState(&self, state: *mut IBStream) -> tresult
unsafe fn getState(&self, state: *mut IBStream) -> tresult
Source§impl<P: Vst3Plugin> IEditControllerTrait for Wrapper<P>
impl<P: Vst3Plugin> IEditControllerTrait for Wrapper<P>
unsafe fn setComponentState(&self, _state: *mut IBStream) -> tresult
unsafe fn setState(&self, _state: *mut IBStream) -> tresult
unsafe fn getState(&self, _state: *mut IBStream) -> tresult
unsafe fn getParameterCount(&self) -> int32
unsafe fn getParameterInfo( &self, param_index: int32, info: *mut ParameterInfo, ) -> tresult
unsafe fn getParamStringByValue( &self, id: ParamID, value_normalized: ParamValue, string: *mut String128, ) -> tresult
unsafe fn getParamValueByString( &self, id: ParamID, string: *mut TChar, value_normalized: *mut ParamValue, ) -> tresult
unsafe fn normalizedParamToPlain( &self, id: ParamID, value_normalized: ParamValue, ) -> ParamValue
unsafe fn plainParamToNormalized( &self, id: ParamID, plain_value: ParamValue, ) -> ParamValue
unsafe fn getParamNormalized(&self, id: ParamID) -> ParamValue
unsafe fn setParamNormalized(&self, id: ParamID, value: ParamValue) -> tresult
unsafe fn setComponentHandler(&self, handler: *mut IComponentHandler) -> tresult
unsafe fn createView(&self, _name: FIDString) -> *mut IPlugView
Source§impl<P: Vst3Plugin> IMidiMappingTrait for Wrapper<P>
impl<P: Vst3Plugin> IMidiMappingTrait for Wrapper<P>
unsafe fn getMidiControllerAssignment( &self, bus_index: int32, channel: int16, midi_cc_number: CtrlNumber, param_id: *mut ParamID, ) -> tresult
Source§impl<P: Vst3Plugin> INoteExpressionControllerTrait for Wrapper<P>
impl<P: Vst3Plugin> INoteExpressionControllerTrait for Wrapper<P>
unsafe fn getNoteExpressionCount( &self, bus_idx: int32, _channel: int16, ) -> int32
unsafe fn getNoteExpressionInfo( &self, bus_idx: int32, _channel: int16, note_expression_idx: int32, info: *mut NoteExpressionTypeInfo, ) -> tresult
unsafe fn getNoteExpressionStringByValue( &self, _bus_idx: int32, _channel: int16, _id: NoteExpressionTypeID, _value: NoteExpressionValue, _string: *mut String128, ) -> tresult
unsafe fn getNoteExpressionValueByString( &self, _bus_idx: int32, _channel: int16, _id: NoteExpressionTypeID, _string: *const TChar, _value: *mut NoteExpressionValue, ) -> tresult
Source§impl<P: Vst3Plugin> IPluginBaseTrait for Wrapper<P>
impl<P: Vst3Plugin> IPluginBaseTrait for Wrapper<P>
Source§impl<P: Vst3Plugin> IProcessContextRequirementsTrait for Wrapper<P>
impl<P: Vst3Plugin> IProcessContextRequirementsTrait for Wrapper<P>
unsafe fn getProcessContextRequirements(&self) -> uint32
Source§impl<P: Vst3Plugin> IUnitInfoTrait for Wrapper<P>
impl<P: Vst3Plugin> IUnitInfoTrait for Wrapper<P>
unsafe fn getUnitCount(&self) -> int32
unsafe fn getUnitInfo(&self, unit_index: int32, info: *mut UnitInfo) -> tresult
unsafe fn getProgramListCount(&self) -> int32
unsafe fn getProgramListInfo( &self, _list_index: int32, _info: *mut ProgramListInfo, ) -> tresult
unsafe fn getProgramName( &self, _list_id: ProgramListID, _program_index: int32, _name: *mut String128, ) -> tresult
unsafe fn getProgramInfo( &self, _list_id: ProgramListID, _program_index: int32, _attribute_id: CString, _attribute_value: *mut String128, ) -> tresult
unsafe fn hasProgramPitchNames( &self, _id: ProgramListID, _index: int32, ) -> tresult
unsafe fn getProgramPitchName( &self, _id: ProgramListID, _index: int32, _pitch: int16, _name: *mut String128, ) -> tresult
unsafe fn getSelectedUnit(&self) -> UnitID
unsafe fn selectUnit(&self, _id: UnitID) -> tresult
unsafe fn getUnitByBus( &self, _type_: MediaType, _dir: BusDirection, _bus_index: int32, _channel: int32, _unit_id: *mut UnitID, ) -> tresult
unsafe fn setUnitProgramData( &self, _list_or_unit: int32, _program_idx: int32, _data: *mut IBStream, ) -> tresult
Auto Trait Implementations§
impl<P> !RefUnwindSafe for Wrapper<P>
impl<P> !UnwindSafe for Wrapper<P>
impl<P> Freeze for Wrapper<P>
impl<P> Send for Wrapper<P>
impl<P> Sync for Wrapper<P>
impl<P> Unpin for Wrapper<P>
impl<P> UnsafeUnpin for Wrapper<P>
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