Struct sdf::file::Block [] [src]

pub struct Block {
    pub time_sosbl: f64,
    pub channel: Channel,
    pub samples: Vec<u16>,
}

A sample block.

Fields

time_sosbl: f64

The start of the sample block, in seconds.

channel: Channel

The channel: 0:high, 1:low, 2:saturation, 3:reference.

samples: Vec<u16>

The actual data samples.

Trait Implementations

impl Debug for Block
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Block
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.