diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2014-03-19 21:11:31 +0100 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2014-03-19 21:11:31 +0100 |
commit | aa656f19d015febb1174c0c91cb1711657280c70 (patch) | |
tree | bedcde25df2bd4e9f1286047d2e47071bda0d94a /src/sample.h | |
parent | d6f325454d47546d56525cf64c528f35f8dec430 (diff) |
Using power defined in xml if any.
Diffstat (limited to 'src/sample.h')
-rw-r--r-- | src/sample.h | 3 |
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; }; |