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''
This commit is contained in:
parent
705bd3d2e0
commit
d91ca67a27
2 changed files with 0 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue