summaryrefslogtreecommitdiff
path: root/src/sample.h
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2014-03-19 21:11:31 +0100
committerJonas Suhr Christensen <jsc@umbraculum.org>2014-03-19 21:11:31 +0100
commitaa656f19d015febb1174c0c91cb1711657280c70 (patch)
treebedcde25df2bd4e9f1286047d2e47071bda0d94a /src/sample.h
parentd6f325454d47546d56525cf64c528f35f8dec430 (diff)
Using power defined in xml if any.
Diffstat (limited to 'src/sample.h')
-rw-r--r--src/sample.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sample.h b/src/sample.h
index cd3e111..61a3468 100644
--- a/src/sample.h
+++ b/src/sample.h
@@ -40,7 +40,7 @@ class Sample {
friend class InstrumentParser;
friend class PowerList;
public:
- Sample(std::string name);
+ Sample(std::string name, float power);
~Sample();
AudioFile *getAudioFile(InstrumentChannel *c);
@@ -49,6 +49,7 @@ private:
void addAudioFile(InstrumentChannel *c, AudioFile *a);
std::string name;
+ float power;
AudioFiles audiofiles;
};