projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix deadlock and potential race condition when editing MIDI.
[ardour.git]
/
libs
/
evoral
/
evoral
/
EventSink.hpp
diff --git
a/libs/evoral/evoral/EventSink.hpp
b/libs/evoral/evoral/EventSink.hpp
index 5f0610e15f354efed387fb18b8abf1a66bed1886..2fd2e7591abe425c50bb790a27100af720d06be7 100644
(file)
--- a/
libs/evoral/evoral/EventSink.hpp
+++ b/
libs/evoral/evoral/EventSink.hpp
@@
-19,19
+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:
virtual ~EventSink() {}
class EventSink {
public:
virtual ~EventSink() {}
- virtual size_t write(timestamp_t time,
- uint32_t size,
- const uint8_t* buf) = 0;
+ virtual uint32_t write(Time time, EventType type, uint32_t size, const uint8_t* buf) = 0;
};
};