summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dgedit/audioextractor.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/dgedit/audioextractor.cc b/dgedit/audioextractor.cc
index f4fd4f3..71e0b2a 100644
--- a/dgedit/audioextractor.cc
+++ b/dgedit/audioextractor.cc
@@ -33,6 +33,8 @@
#include <sndfile.h>
+#define INSTRUMENT_VERSION "2.0"
+
typedef struct {
SNDFILE *fh;
float *data;
@@ -184,6 +186,7 @@ void AudioExtractor::exportSelections()
doc.appendChild(header);
QDomElement instrument = doc.createElement("instrument");
+ instrument.setAttribute("version", INSTRUMENT_VERSION);
instrument.setAttribute("name", prefix);
doc.appendChild(instrument);