summaryrefslogtreecommitdiff
path: root/src/sample.h
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.h
parentf271a3905a0e8d16f9258ba0b8743a8fd689e787 (diff)
parentc852a24fc978ca7916c0f5819bfed870a1d9519e (diff)
Merge branch 'master' of http://git.drumgizmo.org/drumgizmo
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;
};