[PATCH 2/2] Cochran: Added event handling to TM model

John Van Ostrand john at vanostrand.com
Mon Aug 14 13:37:40 PDT 2017


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 c3dad26..38f7bab 100644
--- a/src/cochran_commander_parser.c
+++ b/src/cochran_commander_parser.c
@@ -623,6 +623,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
-- 
2.4.11



More information about the devel mailing list