summaryrefslogtreecommitdiff
path: root/dgedit/audioextractor.cc
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2014-03-19 21:12:24 +0100
committerJonas Suhr Christensen <jsc@umbraculum.org>2014-03-19 21:12:24 +0100
commitc852a24fc978ca7916c0f5819bfed870a1d9519e (patch)
treea3ac7ee0fc886e0f1d361a7c4734d0b65824d7ff /dgedit/audioextractor.cc
parentaa656f19d015febb1174c0c91cb1711657280c70 (diff)
parent63bf74ffaeb5580af677719485c40fe50e248f51 (diff)
Merge branch 'master' of http://git.drumgizmo.org/drumgizmo
Diffstat (limited to 'dgedit/audioextractor.cc')
-rw-r--r--dgedit/audioextractor.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/dgedit/audioextractor.cc b/dgedit/audioextractor.cc
index 2a0dcf5..9692b0b 100644
--- a/dgedit/audioextractor.cc
+++ b/dgedit/audioextractor.cc
@@ -161,6 +161,7 @@ void AudioExtractor::exportSelections(Selections selections,
QDomElement sample = doc.createElement("sample");
sample.setAttribute("name", i->name);
+ sample.setAttribute("power", QString::number(i->energy));
samples.appendChild(sample);
AudioFileList::iterator j = audiofiles.begin();