From c63c2359c943f6e7f061de22a7f513b0b925cec5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 12 Apr 2017 20:19:44 +0200 Subject: Allow buffer size to be specified on the command line Applies to PortAudio driver only --- src/server/PortAudioDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server') diff --git a/src/server/PortAudioDriver.cpp b/src/server/PortAudioDriver.cpp index 5ceb0aa8..1c0a1b0b 100644 --- a/src/server/PortAudioDriver.cpp +++ b/src/server/PortAudioDriver.cpp @@ -56,7 +56,7 @@ PortAudioDriver::PortAudioDriver(Engine& engine) , _sem(0) , _stream(nullptr) , _seq_size(4096) - , _block_length(1024) + , _block_length(engine.world()->conf().option("buffer-size").get()) , _sample_rate(48000) , _n_inputs(0) , _n_outputs(0) -- cgit v1.2.1