refactoring

This commit is contained in:
Christopher Herb
2023-07-07 15:49:44 +02:00
parent feba37aae8
commit 1bc737ad66

View File

@@ -7,8 +7,8 @@
namespace trnr::lib::synth { namespace trnr::lib::synth {
// a generic midi synth base class with sample accurate event handling. // a generic midi synth base class with sample accurate event handling.
template <typename t_synth> template <typename t_voice>
class midi_synth : public voice_allocator<t_synth> { class midi_synth : public voice_allocator<t_voice> {
public: public:
midi_synth(int _n_voices, double _samplerate, int _block_size) midi_synth(int _n_voices, double _samplerate, int _block_size)
: m_samplerate { _samplerate } : m_samplerate { _samplerate }