[−][src]Struct lv2::prelude::CV
CV port type.
Control ports in general are used to control the behaviour of the plugin. CV ports are sampled just like audio data. This means that audio data is often valid CV data, but CV data generally is not audio data, because it may not be within the audio bounds of -1.0 to 1.0.
Trait Implementations
impl PortType for CV
[src]
type InputPortType = &'static [f32]
The type of input read by the port.
type OutputPortType = &'static mut [f32]
The type of output reference created by the port.
pub unsafe fn input_from_raw(
pointer: NonNull<c_void>,
sample_count: u32
) -> <CV as PortType>::InputPortType
[src]
pointer: NonNull<c_void>,
sample_count: u32
) -> <CV as PortType>::InputPortType
pub unsafe fn output_from_raw(
pointer: NonNull<c_void>,
sample_count: u32
) -> <CV as PortType>::OutputPortType
[src]
pointer: NonNull<c_void>,
sample_count: u32
) -> <CV as PortType>::OutputPortType
impl UriBound for CV
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,