projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not allow smf_source's reads to stomp on cached read_end position in parent class...
[ardour.git]
/
libs
/
evoral
/
evoral
/
EventSink.hpp
diff --git
a/libs/evoral/evoral/EventSink.hpp
b/libs/evoral/evoral/EventSink.hpp
index fde6399f2e1c5664e535fd3ab19ed844122b5295..2fd2e7591abe425c50bb790a27100af720d06be7 100644
(file)
--- a/
libs/evoral/evoral/EventSink.hpp
+++ b/
libs/evoral/evoral/EventSink.hpp
@@
-19,18
+19,18
@@
#ifndef EVORAL_EVENT_SINK_HPP
#define EVORAL_EVENT_SINK_HPP
#ifndef EVORAL_EVENT_SINK_HPP
#define EVORAL_EVENT_SINK_HPP
-#include
<evoral/types.hpp>
+#include
"evoral/types.hpp"
namespace Evoral {
/** Pure virtual base for anything you can write events to.
*/
namespace Evoral {
/** Pure virtual base for anything you can write events to.
*/
+template<typename Time>
class EventSink {
public:
class EventSink {
public:
- virtual size_t write(timestamp_t time,
- uint32_t size,
- const uint8_t* buf) = 0;
+ virtual ~EventSink() {}
+ virtual uint32_t write(Time time, EventType type, uint32_t size, const uint8_t* buf) = 0;
};
};