diff main/MainWindow.cpp @ 694:959f01137742 tony_integration

Merge subrepos from tonioni
author Chris Cannam
date Tue, 28 Jan 2014 15:17:06 +0000
parents 7f7fba33b7de
children 44fcce228d02
line wrap: on
line diff
--- a/main/MainWindow.cpp	Fri Dec 13 09:39:04 2013 +0000
+++ b/main/MainWindow.cpp	Tue Jan 28 15:17:06 2014 +0000
@@ -2648,7 +2648,7 @@
         if (!nm) {
             error = tr("Can't export non-note layers to MIDI");
         } else {
-            MIDIFileWriter writer(path, nm);
+            MIDIFileWriter writer(path, nm, nm->getSampleRate());
             writer.write();
             if (!writer.isOK()) {
                 error = writer.getError();