Mercurial > hg > sonic-annotator
comparison runner/MIDIFeatureWriter.cpp @ 152:db83ea0e102d jams
Make the JSON well-formed (though still empty), except in the case where we are asked to write more than one file's features to the same output file or stdout
author | Chris Cannam |
---|---|
date | Tue, 14 Oct 2014 12:35:19 +0100 |
parents | 56dcb5f67ed1 |
children | 977b7007071f |
comparison
equal
deleted
inserted
replaced
151:a1300db6c63e | 152:db83ea0e102d |
---|---|
164 throw FileOperationFailed(filename, "MIDI write"); | 164 throw FileOperationFailed(filename, "MIDI write"); |
165 } | 165 } |
166 } | 166 } |
167 } | 167 } |
168 | 168 |
169 m_notes.clear(); | |
170 | |
169 FileFeatureWriter::finish(); | 171 FileFeatureWriter::finish(); |
170 } | 172 } |
171 | 173 |