From 33bbc5cd841e0fcc596815c88ed804c07787c354 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 Feb 2009 17:59:33 +0000 Subject: [PATCH] Detect libsmf error and throw exceptions. git-svn-id: svn://localhost/ardour2/branches/3.0@4532 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/evoral/evoral/LibSMF.hpp | 6 +++--- libs/evoral/evoral/SMF.hpp | 6 +++--- libs/evoral/evoral/StandardMIDIFile.hpp | 11 ++++++++--- libs/evoral/src/LibSMF.cpp | 17 +++++++++++------ libs/evoral/src/SMF.cpp | 7 ++++--- libs/evoral/test/SMFTest.hpp | 2 +- 6 files changed, 30 insertions(+), 19 deletions(-) diff --git a/libs/evoral/evoral/LibSMF.hpp b/libs/evoral/evoral/LibSMF.hpp index f2c5e318ad..0c3386b40c 100644 --- a/libs/evoral/evoral/LibSMF.hpp +++ b/libs/evoral/evoral/LibSMF.hpp @@ -51,15 +51,15 @@ public: void begin_write(FrameTime start_time); void append_event_unlocked(uint32_t delta_t, const Event