summaryrefslogtreecommitdiff
path: root/src/sample.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-03-31 21:34:31 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-03-31 21:34:31 +0200
commitf0fdd378622aefe6f5132bc9231447073956041a (patch)
tree65f429a414389e417c343afb00d60a1e025a6bb8 /src/sample.h
parent6e6af33f00a17e842da81e4a04ea9c3421c55adb (diff)
parent3b239bdd5362b2a9db73f5f7254e14b6fe7ed858 (diff)
Fix merge conflicts.
Diffstat (limited to 'src/sample.h')
-rw-r--r--src/sample.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/sample.h b/src/sample.h
index a3400a4..f00db13 100644
--- a/src/sample.h
+++ b/src/sample.h
@@ -32,21 +32,20 @@
#include "channel.h"
#include "audiofile.h"
-typedef std::map<Channel*, AudioFile*> AudioFiles;
+using AudioFiles = std::map<Channel*, AudioFile*>;
-class Sample
-{
+class Sample {
friend class InstrumentParser;
friend class PowerList;
-
public:
Sample(const std::string& name, float power);
~Sample();
- AudioFile* getAudioFile(InstrumentChannel* c);
+ AudioFile* getAudioFile(InstrumentChannel *instrument_channel);
private:
- void addAudioFile(InstrumentChannel* c, AudioFile* a);
+ void addAudioFile(InstrumentChannel* instrument_channel,
+ AudioFile* audio_file);
std::string name;
float power;