diff options
Diffstat (limited to 'vamphost/src/ofxVamphost.cpp')
| -rw-r--r-- | vamphost/src/ofxVamphost.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vamphost/src/ofxVamphost.cpp b/vamphost/src/ofxVamphost.cpp index fc8bbf0..1ba2b4e 100644 --- a/vamphost/src/ofxVamphost.cpp +++ b/vamphost/src/ofxVamphost.cpp @@ -143,8 +143,8 @@ void Vamphost::process_frame(float *data,int samples_in_frame){ //when the frame is finished leave the partial block for the next frame while(sample<samples_in_frame) { while(sample<samples_in_frame&&in_block<blockSize) { - for (int i=0;i<channels;i++) {} - plugbuf[i][in_block]=data[0]; //sample]; + for (int i=0;i<channels;i++) { + plugbuf[i][in_block]=data[sample]; } in_block++; sample++; @@ -174,6 +174,7 @@ void Vamphost::process_frame(float *data,int samples_in_frame){ currentStep++; } } +} void Vamphost::cleanup(){ |
