diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2020-03-04 09:11:08 -0600 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2020-03-04 09:11:08 -0600 |
commit | f57de5cd6075c071fe89bb7af898072b0a8daab6 (patch) | |
tree | a7bf31e5c791e5f0c4122f661b72a621ec3eff2b /src/main.rs | |
parent | 7ef7e745c9be4d07dbfcc4e536709924c7c982d4 (diff) |
compiles a semi optimized version always, sets up volume to be very low
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 10 |
1 files changed, 5 insertions, 5 deletions
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(); |