From 84febca8b268129cdd79ff0d1c4f8eeed092c5fb Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 7 Oct 2017 11:47:05 +0200 Subject: Use queue for all inputs and unify interface This also changes the --fifo-silence option. Instead of inserting silence separately, it uses the drift compensation to do that. --- src/JackInput.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/JackInput.cpp') diff --git a/src/JackInput.cpp b/src/JackInput.cpp index 70c354f..958685d 100644 --- a/src/JackInput.cpp +++ b/src/JackInput.cpp @@ -104,6 +104,12 @@ void JackInput::prepare() } } +bool JackInput::read_source(size_t num_bytes) +{ + // Reading done in separate thread, no normal termination condition possible + return true; +} + void JackInput::jack_process(jack_nframes_t nframes) { /*! JACK works with float samples, we need to convert -- cgit v1.2.3