From 2aae9799e1d96d827ad156aeafa549deabd51e5d Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 27 Jan 2019 17:02:40 +0100 Subject: Re-instate instrument v1.0 support. --- src/sample.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sample.h') 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; 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; }; -- cgit v1.2.3