From 297d621987c224db26eadfb9bde9235741387496 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 12 Dec 2024 19:46:15 +0100 Subject: more cleanup + script utilities --- src/example/replay.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/example') diff --git a/src/example/replay.cpp b/src/example/replay.cpp index 4c606d7..7faf6cb 100644 --- a/src/example/replay.cpp +++ b/src/example/replay.cpp @@ -27,17 +27,21 @@ class Timeline : public Script { switch (i++) { default: break; case 10: + logf("record start"); replay.record_start(); break; case 60: + logf("record end, playing recording"); this->recording = replay.record_end(); replay.play(this->recording); break; case 61: + logf("done, releasing recording"); replay.release(this->recording); break; case 72: - throw; + logf("exit"); + queue_event(); break; }; } -- cgit v1.2.3