summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2020-03-04 03:41:04 -0600
committerTom Barrett <tom@tombarrett.xyz>2020-03-04 03:41:04 -0600
commit0c0b348971ee209679b571977115537daf9288cf (patch)
treec2a4a1bd6296fa81bc615137083f6912929bf08a /src/main.rs
parentaf5e8f365478f62bc5108217317e70a6ee1accf4 (diff)
audio works
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 5 insertions, 0 deletions
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);