diff --git a/synth/midi_synth.h b/synth/midi_synth.h index bd9758a..030a6c1 100644 --- a/synth/midi_synth.h +++ b/synth/midi_synth.h @@ -7,8 +7,8 @@ namespace trnr::lib::synth { // a generic midi synth base class with sample accurate event handling. -template -class midi_synth : public voice_allocator { +template +class midi_synth : public voice_allocator { public: midi_synth(int _n_voices, double _samplerate, int _block_size) : m_samplerate { _samplerate }