summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-26 00:34:54 +0000
committerDavid Robillard <d@drobilla.net>2013-12-26 00:34:54 +0000
commit9fe22c55bd236c7e6e6b61a257b6a031731c6a17 (patch)
tree0b994ce325a572ea7756f8f1a752cb1ff4c90e2f /src/server
parentb63a173b3624bff8a38eacd088aa3dfce3fc4e33 (diff)
downloadingen-9fe22c55bd236c7e6e6b61a257b6a031731c6a17.tar.gz
ingen-9fe22c55bd236c7e6e6b61a257b6a031731c6a17.tar.bz2
ingen-9fe22c55bd236c7e6e6b61a257b6a031731c6a17.zip
Remove unused Driver::is_realtime() method.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5212 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r--src/server/DirectDriver.hpp2
-rw-r--r--src/server/Driver.hpp3
-rw-r--r--src/server/JackDriver.hpp2
-rw-r--r--src/server/ingen_lv2.cpp5
4 files changed, 2 insertions, 10 deletions
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<EnginePort*> Ports;