diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-26 13:45:59 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-26 13:45:59 +0000 |
commit | 37978aa21437b9bb308efeb9828fbe4a06077cee (patch) | |
tree | f7b3b681e0e42c233ded6715ea824114d9e5c3ec /libs/evoral | |
parent | ecb0cd5d119d28092a8f48e4521ac5eba197bb54 (diff) |
lots of details relating to MIDI file management; try to ignore ALSA sequencer MIDI ports named "Midi-Through"
git-svn-id: svn://localhost/ardour2/branches/3.0@7305 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral')
-rw-r--r-- | libs/evoral/src/SMF.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/evoral/src/SMF.cpp b/libs/evoral/src/SMF.cpp index cf838455ce..5768b1cae3 100644 --- a/libs/evoral/src/SMF.cpp +++ b/libs/evoral/src/SMF.cpp @@ -275,7 +275,6 @@ SMF::begin_write() void SMF::end_write() THROW_FILE_ERROR { -#if 0 /* don't create empty MIDI files */ @@ -283,13 +282,14 @@ SMF::end_write() THROW_FILE_ERROR if (smf_peek_next_event (_smf) == 0) { return; } -#endif PBD::StdioFileDescriptor d (_file_path, "w+"); FILE* f = d.allocate (); if (f == 0) { throw FileError (); } + + cerr << "\n\n\nSAVE SMF to " << _file_path << "\n\n"; if (smf_save(_smf, f) != 0) { throw FileError(); |