From d91ca67a273ea62818c00853d962ef5d37dd2b5e Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Thu, 12 Mar 2026 17:12:31 +0100 Subject: [PATCH] BufferProvider: remove the problematic mismatched API This API function was the reason why the handling of `OutputSlot` and `BufferProvider` do not mesh up well, so that the former could not yet be integrated properly into the engine. ''Obviously the proper solution still needs to be implemented'' --- src/vault/out/output-slot.cpp | 12 ------------ src/vault/out/output-slot.hpp | 1 - 2 files changed, 13 deletions(-) diff --git a/src/vault/out/output-slot.cpp b/src/vault/out/output-slot.cpp index eecd8d4f0..34e1da1d6 100644 --- a/src/vault/out/output-slot.cpp +++ b/src/vault/out/output-slot.cpp @@ -98,17 +98,5 @@ namespace out { } - void - DataSink::emit (FrameID frameNr, BuffHandle& data2emit, TimeValue currentTime) - { - OutputSlot::Connection& connection = impl(); - if (connection.isTimely(frameNr,currentTime)) - connection.transfer(data2emit); - else - connection.discard(data2emit); - } - - - }} // namespace vault::out diff --git a/src/vault/out/output-slot.hpp b/src/vault/out/output-slot.hpp index 7dcdaea59..38cba0e1d 100644 --- a/src/vault/out/output-slot.hpp +++ b/src/vault/out/output-slot.hpp @@ -162,7 +162,6 @@ namespace out { public: BuffHandle lockBufferFor(FrameID); - void emit(FrameID, BuffHandle&, TimeValue currentTime = Time::ANYTIME); friend bool operator== (DataSink const& sink1, DataSink const& sink2)