diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server/DirectDriver.hpp | 2 | ||||
-rw-r--r-- | src/server/Driver.hpp | 3 | ||||
-rw-r--r-- | src/server/JackDriver.hpp | 2 | ||||
-rw-r--r-- | src/server/ingen_lv2.cpp | 5 |
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; |