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.cc | |
parent | d6f325454d47546d56525cf64c528f35f8dec430 (diff) |
Using power defined in xml if any.
Diffstat (limited to 'src/sample.cc')
-rw-r--r-- | src/sample.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sample.cc b/src/sample.cc index be897c7..d50137d 100644 --- a/src/sample.cc +++ b/src/sample.cc @@ -31,9 +31,10 @@ #include <sndfile.h> -Sample::Sample(std::string name) +Sample::Sample(std::string name, float power) { this->name = name; + this->power = power; } Sample::~Sample() |