Commit 0268f691 authored by Georg Krause's avatar Georg Krause

inject jack

parent b389c0b8
Pipeline #859 failed with stages
in 19 seconds
......@@ -23,6 +23,7 @@
#include "../state/stately.hxx"
#include "../config.hxx"
#include "../gridlogic.hxx"
#include "../jack.hxx"
class AudioBuffer;
......
......@@ -2,8 +2,11 @@
#include "looper.hxx"
#include "looperclip.hxx"
#include "audiobuffer.hxx"
#include "../jack.hxx"
Looper *LooperFactory::buildLooper ( int t ) {
extern Jack* jack;
Looper *LooperFactory::buildLooper ( int t) {
LooperClip *clips[NSCENES];
for ( int i = 0; i < NSCENES; i++ ) {
clips[i] = LooperFactory::buildLooperClip(t, i);
......@@ -13,5 +16,5 @@ Looper *LooperFactory::buildLooper ( int t ) {
LooperClip *LooperFactory::buildLooperClip ( int t, int s ) {
AudioBuffer *buffer = new AudioBuffer ( LOOPER_SAMPLES_UPDATE_SIZE );
return new LooperClip ( t, s, buffer );
return new LooperClip ( t, s, buffer, jack );
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment