[][src]Function spectrusty::audio::render_audio_frame_ts

pub fn render_audio_frame_ts<VL, L, A, T>(
    prev_state: u8,
    end_ts: Option<i32>,
    changes: &[T],
    blep: &mut A,
    channel: usize
) where
    L: SampleDelta,
    A: Blep<SampleDelta = L>,
    T: Copy,
    VL: AmpLevels<L>,
    (i32, u8): From<T>, 

A helper method for rendering square-wave audio from slices containing updates of audio digital levels, sorted by T-state counter value.