diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-04-02 21:13:52 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-04-02 21:13:52 +0200 |
commit | 0aef6f2f81bdb6f78fc04e090aa60b5146326765 (patch) | |
tree | 4ccebf2382bd0a990c97da38b1bad2bb2a3cfd00 /drumgizmo/output/jackaudio/jackaudio.cc | |
parent | 644c3996fe91f35bcdc84e0c3bb4f906be740bae (diff) | |
parent | d8053dd8e6d38165d9ac6a689081bc4a753ff7ad (diff) |
Merge with head
Diffstat (limited to 'drumgizmo/output/jackaudio/jackaudio.cc')
-rw-r--r-- | drumgizmo/output/jackaudio/jackaudio.cc | 6 |
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); } |