From cdf7e8e635bc31db4684776cf49c6d07cfb1bc70 Mon Sep 17 00:00:00 2001 From: John Van Ostrand Date: Mon, 14 Aug 2017 16:37:40 -0400 Subject: [PATCH] Add event handling to TM model For some reason I had never added event processing to this model. --- src/cochran_commander_parser.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cochran_commander_parser.c b/src/cochran_commander_parser.c index 9d42a44..33f3b28 100644 --- a/src/cochran_commander_parser.c +++ b/src/cochran_commander_parser.c @@ -622,6 +622,9 @@ cochran_commander_parser_samples_foreach_tm (dc_parser_t *abstract, dc_sample_ca sample.deco.time = 60; // We don't know the duration if (callback) callback(DC_SAMPLE_DECO, sample, userdata); break; + default: + cochran_commander_handle_event(parser, s[0], callback, userdata); + break; } } else { // Temp change