From 9fe22c55bd236c7e6e6b61a257b6a031731c6a17 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 Dec 2013 00:34:54 +0000 Subject: Remove unused Driver::is_realtime() method. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5212 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/DirectDriver.hpp | 2 -- src/server/Driver.hpp | 3 --- src/server/JackDriver.hpp | 2 -- src/server/ingen_lv2.cpp | 5 ++--- 4 files changed, 2 insertions(+), 10 deletions(-) (limited to 'src/server') diff --git a/src/server/DirectDriver.hpp b/src/server/DirectDriver.hpp index 301a43cc..5f8c4da5 100644 --- a/src/server/DirectDriver.hpp +++ b/src/server/DirectDriver.hpp @@ -74,8 +74,6 @@ public: virtual SampleCount frame_time() const { return 0; } - virtual bool is_realtime() const { return false; } - virtual void append_time_events(ProcessContext& context, Buffer& buffer) {} diff --git a/src/server/Driver.hpp b/src/server/Driver.hpp index f86d06a3..4b5e0ae0 100644 --- a/src/server/Driver.hpp +++ b/src/server/Driver.hpp @@ -85,9 +85,6 @@ public: /** Return the current frame time (running counter) */ virtual SampleCount frame_time() const = 0; - /** Return true iff the driver is running in real-time mode */ - virtual bool is_realtime() const = 0; - /** Append time events for this cycle to @p buffer. */ virtual void append_time_events(ProcessContext& context, Buffer& buffer) = 0; diff --git a/src/server/JackDriver.hpp b/src/server/JackDriver.hpp index 59a62ad6..e2bafd7c 100644 --- a/src/server/JackDriver.hpp +++ b/src/server/JackDriver.hpp @@ -86,8 +86,6 @@ public: void append_time_events(ProcessContext& context, Buffer& buffer); - bool is_realtime() const { return jack_is_realtime(_client); } - jack_client_t* jack_client() const { return _client; } SampleCount block_length() const { return _block_length; } SampleCount sample_rate() const { return _sample_rate; } diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp index e1a8061f..7a525bb5 100644 --- a/src/server/ingen_lv2.cpp +++ b/src/server/ingen_lv2.cpp @@ -375,9 +375,8 @@ public: virtual SampleCount sample_rate() const { return _sample_rate; } virtual SampleCount frame_time() const { return _frame_time; } - virtual bool is_realtime() const { return true; } - AtomReader& reader() { return _reader; } - AtomWriter& writer() { return _writer; } + AtomReader& reader() { return _reader; } + AtomWriter& writer() { return _writer; } typedef std::vector Ports; -- cgit v1.2.1