diff options
-rw-r--r-- | src/server/DuplexPort.cpp | 6 | ||||
-rw-r--r-- | src/server/DuplexPort.hpp | 1 | ||||
-rw-r--r-- | src/server/InputPort.cpp | 7 | ||||
-rw-r--r-- | src/server/InputPort.hpp | 1 | ||||
-rw-r--r-- | src/server/PortImpl.cpp | 2 | ||||
-rw-r--r-- | src/server/PortImpl.hpp | 2 |
6 files changed, 3 insertions, 16 deletions
diff --git a/src/server/DuplexPort.cpp b/src/server/DuplexPort.cpp index e1ef6b26..b01da97f 100644 --- a/src/server/DuplexPort.cpp +++ b/src/server/DuplexPort.cpp @@ -235,11 +235,5 @@ DuplexPort::next_value_offset(SampleCount offset, SampleCount end) const return PortImpl::next_value_offset(offset, end); } -void -DuplexPort::update_values(SampleCount offset, uint32_t voice) -{ - return PortImpl::update_values(offset, voice); -} - } // namespace Server } // namespace Ingen diff --git a/src/server/DuplexPort.hpp b/src/server/DuplexPort.hpp index adec2bef..e12841dd 100644 --- a/src/server/DuplexPort.hpp +++ b/src/server/DuplexPort.hpp @@ -90,7 +90,6 @@ public: void post_process(RunContext& context); SampleCount next_value_offset(SampleCount offset, SampleCount end) const; - void update_values(SampleCount offset, uint32_t voice); }; } // namespace Server diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp index 63a752b1..6e72f6f6 100644 --- a/src/server/InputPort.cpp +++ b/src/server/InputPort.cpp @@ -225,13 +225,8 @@ InputPort::next_value_offset(SampleCount offset, SampleCount end) const } } } - return earliest; -} -void -InputPort::update_values(SampleCount offset, uint32_t voice) -{ - buffer(voice)->update_value_buffer(offset); + return earliest; } void diff --git a/src/server/InputPort.hpp b/src/server/InputPort.hpp index 323da3e5..708f7ea2 100644 --- a/src/server/InputPort.hpp +++ b/src/server/InputPort.hpp @@ -104,7 +104,6 @@ public: void post_process(RunContext& context); SampleCount next_value_offset(SampleCount offset, SampleCount end) const; - void update_values(SampleCount offset, uint32_t voice); size_t num_arcs() const { return _num_arcs; } void increment_num_arcs() { ++_num_arcs; } diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp index 88d25f63..4f7c5d49 100644 --- a/src/server/PortImpl.cpp +++ b/src/server/PortImpl.cpp @@ -535,7 +535,7 @@ PortImpl::next_value_offset(SampleCount offset, SampleCount end) const void PortImpl::update_values(SampleCount offset, uint32_t voice) { - _voices->at(voice).buffer->update_value_buffer(offset); + buffer(voice)->update_value_buffer(offset); } void diff --git a/src/server/PortImpl.hpp b/src/server/PortImpl.hpp index b07a4086..a691043d 100644 --- a/src/server/PortImpl.hpp +++ b/src/server/PortImpl.hpp @@ -242,7 +242,7 @@ public: SampleCount end) const; /** Update value buffer for `voice` to be current as of `offset`. */ - virtual void update_values(SampleCount offset, uint32_t voice); + void update_values(SampleCount offset, uint32_t voice); void force_monitor_update() { _force_monitor_update = true; } |