projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Trying to create export audio encoders with between 9 and 15 channels
[dcpomatic.git]
/
src
/
lib
/
event_history.h
diff --git
a/src/lib/event_history.h
b/src/lib/event_history.h
index f723591fbd19bd81c0fa052e997a59c88195a22c..4670e7bfe8069b215448d09c62f545af909c7d1c 100644
(file)
--- a/
src/lib/event_history.h
+++ b/
src/lib/event_history.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2017 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2017
-2019
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-22,14
+22,15
@@
#define DCPOMATIC_EVENT_HISTORY_H
#include <boost/thread/mutex.hpp>
#define DCPOMATIC_EVENT_HISTORY_H
#include <boost/thread/mutex.hpp>
+#include <boost/optional.hpp>
#include <list>
class EventHistory
{
public:
#include <list>
class EventHistory
{
public:
- EventHistory (int size);
+
explicit
EventHistory (int size);
-
float
rate () const;
+
boost::optional<float>
rate () const;
void event ();
private:
void event ();
private: