summaryrefslogtreecommitdiff
path: root/src/sample.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sample.cc')
-rw-r--r--src/sample.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sample.cc b/src/sample.cc
index 1f624d3..c1795e8 100644
--- a/src/sample.cc
+++ b/src/sample.cc
@@ -62,3 +62,8 @@ AudioFile* Sample::getAudioFile(const Channel& channel)
return nullptr;
}
+
+float Sample::getPower() const
+{
+ return power;
+}