From 0e447ca05ff0c0fe91ec9a9a9091940680f967ba Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Wed, 11 Mar 2020 07:15:16 -0500 Subject: waveform is now accurately shown --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 8651f56..5cb2e3a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -61,10 +61,10 @@ fn main() { .unwrap() .ignore_warnings(); - let (mut stream, toms_samples) = audio::init(); + let (mut stream, waveform) = audio::init(); stream.play(); - let mut tom = Tom::new(toms_samples); + let mut tom = Tom::new(waveform); let mut n1ck = N1ck::new(); let viewports = gen_viewports(); -- cgit v1.2.3