This commit is contained in:
@@ -397,7 +397,7 @@ impl AudioMixer {
|
||||
let vol_l = vol_f * (1.0 - pan_f).sqrt();
|
||||
let vol_r = vol_f * pan_f.sqrt();
|
||||
|
||||
for frame in buffer.chunks_exact_mut(2) {
|
||||
for frame in buffer.as_chunks_mut::<2>().0 {
|
||||
let pos_int = voice.pos as usize;
|
||||
let pos_fract = voice.pos - pos_int as f64;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user