diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-01-27 17:02:40 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-01-27 17:02:40 +0100 |
commit | 2aae9799e1d96d827ad156aeafa549deabd51e5d (patch) | |
tree | 707fb2798cd3b9304fc4af690b557efc9d98a1a8 /src/sample.h | |
parent | 053b723adf3948d18f025efed9450d837359edd9 (diff) |
Re-instate instrument v1.0 support.
Diffstat (limited to 'src/sample.h')
-rw-r--r-- | src/sample.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sample.h b/src/sample.h index 5e41e9e..48f94ac 100644 --- a/src/sample.h +++ b/src/sample.h @@ -37,12 +37,12 @@ using AudioFiles = std::map<const InstrumentChannel*, AudioFile*>; class Sample { public: - Sample(const std::string& name, float power); + Sample(const std::string& name, double power); ~Sample(); - AudioFile* getAudioFile(const Channel& channel); + AudioFile* getAudioFile(const Channel& channel) const; - float getPower() const; + double getPower() const; private: friend class DOMLoader; @@ -55,6 +55,6 @@ private: AudioFile* audio_file); std::string name; - float power; + double power; AudioFiles audiofiles; }; |