summaryrefslogtreecommitdiff
path: root/src/audio.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2017-06-26 22:44:14 +0200
committerJustin Worthe <justin@worthe-it.co.za>2017-06-26 22:44:14 +0200
commitaa8fd313429ead1cb5305da5a00c65097ac117b8 (patch)
tree0408644bb3e7e03effacb481ee6779f735f16197 /src/audio.rs
parent80a596b8d527a0ee50da8536e064631f6763565b (diff)
Increased number of samples
Diffstat (limited to 'src/audio.rs')
-rw-r--r--src/audio.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio.rs b/src/audio.rs
index bcee400..9a5ea0e 100644
--- a/src/audio.rs
+++ b/src/audio.rs
@@ -3,8 +3,8 @@ use portaudio as pa;
use std::sync::mpsc::*;
-const SAMPLE_RATE: f64 = 44100.0;
-const FRAMES: usize = 512;
+pub const SAMPLE_RATE: f64 = 44100.0;
+pub const FRAMES: usize = 1024;
pub fn init() -> Result<pa::PortAudio, pa::Error> {
pa::PortAudio::new()