diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-03-19 21:04:47 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-03-19 21:04:47 +0100 |
commit | 63bf74ffaeb5580af677719485c40fe50e248f51 (patch) | |
tree | 9ad5c79bd6b14204bc347af4166aed681e0d62a5 /dgedit/audioextractor.cc | |
parent | ed54ecfc42371545ea438c21ba4d736cdd6f15ff (diff) |
Make editor store calculated sample energies in the xml files.
Diffstat (limited to 'dgedit/audioextractor.cc')
-rw-r--r-- | dgedit/audioextractor.cc | 1 |
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(); |