From 0c0b348971ee209679b571977115537daf9288cf Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Wed, 4 Mar 2020 03:41:04 -0600 Subject: audio works --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index b3c2e05..81b8585 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,4 @@ +pub mod audio; pub mod constants; pub mod n1ck; pub mod tom; @@ -59,6 +60,10 @@ fn main() { .unwrap() .ignore_warnings(); + // only uncomment if building as release 'cargo run --release' + //let mut stream = audio::init(); + //stream.play(); + let (mut tom, surface) = Tom::new(surface); let (mut n1ck, mut surface) = N1ck::new(surface); -- cgit v1.2.3