summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-15 21:12:53 +0000
committerDavid Robillard <d@drobilla.net>2011-02-15 21:12:53 +0000
commit9462a7774d109496f048a65a173afc648c5c821b (patch)
tree8b9b240c4d4cdf7e0ce92afa31eceb39bf36bcef /src
parentdd5b853d8093c08ac1c94ea07cde9efb2ef5d068 (diff)
downloadingen-9462a7774d109496f048a65a173afc648c5c821b.tar.gz
ingen-9462a7774d109496f048a65a173afc648c5c821b.tar.bz2
ingen-9462a7774d109496f048a65a173afc648c5c821b.zip
Ignore jack buffer size callbacks, since svn jack is broken and reports buffer sizes of 0...
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2950 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/engine/JackDriver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/JackDriver.cpp b/src/engine/JackDriver.cpp
index 638217fc..909a2209 100644
--- a/src/engine/JackDriver.cpp
+++ b/src/engine/JackDriver.cpp
@@ -515,6 +515,8 @@ JackDriver::_sample_rate_cb(jack_nframes_t nframes)
int
JackDriver::_block_length_cb(jack_nframes_t nframes)
{
+ cout << "FIXME: JACK BLOCK LENGTH CALLBACK: " << nframes << endl;
+ return 0;
if (_root_patch) {
_block_length = nframes;
_root_patch->set_buffer_size(context(), *_engine.buffer_factory(), PortType::AUDIO,