summaryrefslogtreecommitdiff
path: root/src/sample.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sample.cc')
-rw-r--r--src/sample.cc3
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()