Struct audiostream::DynBuffer [] [src]

pub struct DynBuffer<'z> {
    pub bytes: &'z mut [&'z mut [u8]],
    pub sample_size: u8,
    pub sample_rate: u32,

The result of pulling from a DynamicSource.

You probably shouldn't use this because it's experimental.



Raw bytes of sample data. TODO Any might be more appropriate, particularly for externally-defined sample formats. It's very easy for us to get confused by one of those.


Size of individual samples, in bits.

Note that it's impossible to tell what actual format


Sample rate in Hz