aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/machina/Action.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/machina/Action.hpp')
-rw-r--r--src/engine/machina/Action.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/machina/Action.hpp b/src/engine/machina/Action.hpp
index 3cab3ee..1d1700d 100644
--- a/src/engine/machina/Action.hpp
+++ b/src/engine/machina/Action.hpp
@@ -32,7 +32,7 @@ namespace Machina {
/** An Action, executed on entering or exiting of a state.
*/
struct Action : public Raul::Deletable, public Raul::Stateful {
- virtual void execute(SharedPtr<Raul::MIDISink> sink, Raul::BeatTime time) = 0;
+ virtual void execute(SharedPtr<Raul::MIDISink> sink, Raul::TimeStamp time) = 0;
virtual void write_state(Redland::Model& model);
};
@@ -42,7 +42,7 @@ class PrintAction : public Action {
public:
PrintAction(const std::string& msg) : _msg(msg) {}
- void execute(SharedPtr<Raul::MIDISink>, Raul::BeatTime time)
+ void execute(SharedPtr<Raul::MIDISink>, Raul::TimeStamp time)
{ std::cout << "t=" << time << ": " << _msg << std::endl; }
private: