Fix a minor warning
This commit is contained in:
parent
df5b3a10e4
commit
439f696847
2 changed files with 2 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ public:
|
|||
void generate(const ModKey& sourceKey, NumericId<Voice> voiceId, absl::Span<float> buffer) override;
|
||||
|
||||
private:
|
||||
VoiceManager& voiceManager_;
|
||||
MidiState& midiState_;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue