next_sample

Function next_sample 

Source
pub fn next_sample(song: &Song, player_state: &mut PlayerState) -> (f32, f32)
Expand description

Calculates the next sample pair (left, right) to be played from the song. The returned samples have the range [-1, 1]