[][src]Struct csound::PvsDataExt

pub struct PvsDataExt {
    pub N: u32,
    pub sliding: u32,
    pub NB: i32,
    pub overlap: u32,
    pub winsize: u32,
    pub wintype: u32,
    pub format: u32,
    pub framecount: u32,
    pub frame: Vec<f32>,
}

Holds pvs data info of a pvs channel.

To be used with pvsin, pvsout opcodes and with Csound::get_pvs_channel and Csound::set_pvs_channel methods.

Fields

N: u32sliding: u32NB: i32overlap: u32winsize: u32wintype: u32format: u32framecount: u32frame: Vec<f32>

Methods

impl PvsDataExt[src]

pub fn new(winsize: u32) -> PvsDataExt[src]

Creates a new pvs data channel struct.

Arguments

  • winsize The number of elements in the pvs window and also it is the number of samples in the frame buffer.

Trait Implementations

impl Clone for PvsDataExt[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for PvsDataExt[src]

Auto Trait Implementations

impl Unpin for PvsDataExt

impl Sync for PvsDataExt

impl Send for PvsDataExt

impl UnwindSafe for PvsDataExt

impl RefUnwindSafe for PvsDataExt

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]