summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2020-03-11 07:15:16 -0500
committerTom Barrett <tom@tombarrett.xyz>2020-03-11 07:15:16 -0500
commit0e447ca05ff0c0fe91ec9a9a9091940680f967ba (patch)
tree38e8dade3674b2965a0e85b24567338fa61d9fb9 /src/main.rs
parent79cb6caee1513c6b70a1f2201b73c222af3ec007 (diff)
waveform is now accurately shown
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
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();