summaryrefslogtreecommitdiff
path: root/src/sample.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-03-30 11:15:57 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-03-30 11:15:57 +0200
commit011143d37aa438a7204c6a4a407db5c49e3fc6c5 (patch)
tree7fabae02245367c697f5fe3fe35009d3cb55f960 /src/sample.cc
parentf271a3905a0e8d16f9258ba0b8743a8fd689e787 (diff)
parentc852a24fc978ca7916c0f5819bfed870a1d9519e (diff)
Merge branch 'master' of http://git.drumgizmo.org/drumgizmo
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()