summaryrefslogtreecommitdiff
path: root/dgedit/audioextractor.cc
diff options
context:
space:
mode:
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();