From f57de5cd6075c071fe89bb7af898072b0a8daab6 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Wed, 4 Mar 2020 09:11:08 -0600 Subject: compiles a semi optimized version always, sets up volume to be very low --- src/main.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 546628f..d81d45c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,9 +1,10 @@ -pub mod audio; pub mod constants; +pub mod audio; +pub mod vertex; pub mod n1ck; pub mod tom; -pub mod vertex; +use alto::Source; use luminance::context::GraphicsContext; use luminance::pipeline::{PipelineState, Viewport}; use luminance::shader::program::Program; @@ -60,9 +61,8 @@ fn main() { .unwrap() .ignore_warnings(); - // only uncomment if building as release 'cargo run --release' - //let mut stream = audio::init(); - //stream.play(); + let mut stream = audio::init(); + stream.play(); let mut tom = Tom::new(); let mut n1ck = N1ck::new(); -- cgit v1.2.3