Skip to main content

stem_values

Function stem_values 

Source
pub fn stem_values(mixer: &Mixer, r: &MixRecord) -> [f32; 7]
Expand description

The per-cycle value each track receives for one mix record.

Returns the six source values and the interaction term, in Stem::ALL order. Each source goes through the same Mixer::mix the APU calls, with every other channel at zero — so a stem is exactly what the console would mix for that channel playing alone.