Fix a minor warning

This commit is contained in:
Jean Pierre Cimalando 2021-03-25 16:43:34 +01:00
parent df5b3a10e4
commit 439f696847
2 changed files with 2 additions and 4 deletions

View file

@ -8,13 +8,12 @@
#include "../../ModifierHelpers.h"
#include "../../ADSREnvelope.h"
// TODO(jpc): also matrix the ampeg
namespace sfz {
ChannelAftertouchSource::ChannelAftertouchSource(VoiceManager& manager, MidiState& state)
: voiceManager_(manager), midiState_(state)
: midiState_(state)
{
(void)manager;
}
void ChannelAftertouchSource::init(const ModKey& sourceKey, NumericId<Voice> voiceId, unsigned delay)

View file

@ -20,7 +20,6 @@ public:
void generate(const ModKey& sourceKey, NumericId<Voice> voiceId, absl::Span<float> buffer) override;
private:
VoiceManager& voiceManager_;
MidiState& midiState_;
};