diff options
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; }; |