summaryrefslogtreecommitdiff
path: root/drumgizmo
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo')
-rw-r--r--drumgizmo/output/jackaudio/jackaudio.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/drumgizmo/output/jackaudio/jackaudio.cc b/drumgizmo/output/jackaudio/jackaudio.cc
index 385eb48..0fd985e 100644
--- a/drumgizmo/output/jackaudio/jackaudio.cc
+++ b/drumgizmo/output/jackaudio/jackaudio.cc
@@ -85,7 +85,7 @@ bool JackAudio::init(int nchannels, char *cnames[])
name.c_str(),
JACK_DEFAULT_AUDIO_TYPE,
JackPortIsOutput, 0);
- channels[i] = (sample_t*)malloc(1024 * sizeof(sample_t));
+ channels[i] = (sample_t*)malloc(16 * sizeof(sample_t));
}
return true;
}
@@ -127,9 +127,9 @@ void JackAudio::post(size_t size)
void JackAudio::jack_process(jack_nframes_t nframes)
{
- if(nframes != 1024) {
+ if(nframes != 128) {
fprintf(stderr, "jackaudio output module currently only works with a"
- " bufferszie of 1024 samples!\n");
+ " buffersize of 64 samples!\n");
exit(1);
}