pub fn new(winsize: u32) -> PvsDataExt {
        PvsDataExt {
            N: winsize,
            sliding: 0,
            NB: 0,
            overlap: 0,
            winsize,
            wintype: 0,
            format: 0,
            framecount: 0,
            frame: vec![0.0; winsize as usize],
        }
    }
/// 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.
Creates a new pvs data channel struct.
Creates a new pvs data channel struct .
pub fn new(winsize: u32) -> PvsDataExt {
        PvsDataExt {
            N: winsize,
            sliding: 0,
            NB: 0,
            overlap: 0,
            winsize,
            wintype: 0,
            format: 0,
            framecount: 0,
            frame: vec![0.0; winsize as usize],
        }
    }
pub fn new ( winsize : u32 ) -> PvsDataExt { PvsDataExt { N : winsize , sliding : 0 , NB : 0 , overlap : 0 , winsize , wintype : 0 , format : 0 , framecount : 0 , frame : vec ! [ 0.0 winsize as usize ] , } }
Creates a new pvs data channel struct.
Creates a new pvs data channel struct .
winsize
u32
winsize
u32