summaryrefslogtreecommitdiff
path: root/glitcher/src/ofApp.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2014-02-28 10:28:30 +0000
committerTim Redfern <tim@eclectronics.org>2014-02-28 10:28:30 +0000
commitcaa1426e767efdba526c1d2df0b61aafbd6fcca7 (patch)
tree711248cc9e539b16b7b9ed0642958bb19172a753 /glitcher/src/ofApp.cpp
parenta2fe68dfed91e362404ea1171cc8f0b313956cc3 (diff)
progressing glitchy transform
Diffstat (limited to 'glitcher/src/ofApp.cpp')
-rw-r--r--glitcher/src/ofApp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/glitcher/src/ofApp.cpp b/glitcher/src/ofApp.cpp
index ec97933..a8937b7 100644
--- a/glitcher/src/ofApp.cpp
+++ b/glitcher/src/ofApp.cpp
@@ -9,9 +9,9 @@ void ofApp::setup() {
int bufferSize= ofGetWidth(); //should be based on the size of glitch buffer
- soundStream.listDevices();
+ //soundStream.listDevices();
//nb all you have to do to make audio work is to turn off pulseaudio in configuration
- soundStream.setup(this, 0, 1, 44100, bufferSize, 1);
+ //soundStream.setup(this, 0, 1, 44100, bufferSize, 1);
samples.resize(bufferSize);
glitch.setup(ofGetWidth(),ofGetHeight(),&samples);