Mercurial > hg > svapp
diff audio/AudioGenerator.h @ 617:e98a42e94d90
Merge from branch avoid-pointer-keys
author | Chris Cannam |
---|---|
date | Tue, 04 Sep 2018 11:32:49 +0100 |
parents | 7d3a6357ce64 |
children | 161063152ddd |
line wrap: on
line diff
--- a/audio/AudioGenerator.h Mon Aug 13 14:13:38 2018 +0100 +++ b/audio/AudioGenerator.h Tue Sep 04 11:32:49 2018 +0100 @@ -13,10 +13,9 @@ COPYING included with this distribution for more information. */ -#ifndef _AUDIO_GENERATOR_H_ -#define _AUDIO_GENERATOR_H_ +#ifndef SV_AUDIO_GENERATOR_H +#define SV_AUDIO_GENERATOR_H -class Model; class NoteModel; class FlexiNoteModel; class DenseTimeValueModel; @@ -33,6 +32,7 @@ #include <vector> #include "base/BaseTypes.h" +#include "data/model/Model.h" class AudioGenerator : public QObject { @@ -140,12 +140,12 @@ }; - typedef std::map<const Model *, ClipMixer *> ClipMixerMap; + typedef std::map<const ModelId, ClipMixer *> ClipMixerMap; typedef std::multiset<NoteOff, NoteOff::Comparator> NoteOffSet; - typedef std::map<const Model *, NoteOffSet> NoteOffMap; + typedef std::map<const ModelId, NoteOffSet> NoteOffMap; - typedef std::map<const Model *, ContinuousSynth *> ContinuousSynthMap; + typedef std::map<const ModelId, ContinuousSynth *> ContinuousSynthMap; QMutex m_mutex;