From 2830e56b12a105ceb729edd18600f5f5bf24895b Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 18 Jul 2023 18:39:52 +0200 Subject: [PATCH] fix for accessing base class --- synth/midi_synth.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/synth/midi_synth.h b/synth/midi_synth.h index 01c50b1..e62534c 100644 --- a/synth/midi_synth.h +++ b/synth/midi_synth.h @@ -22,7 +22,7 @@ public: void set_samplerate_blocksize(double _samplerate, int _block_size) { m_block_size = _block_size; - voice_allocator::set_samplerate(_samplerate); + voice_allocator::set_samplerate(_samplerate); } void process_block(double** _outputs, int _n_frames) @@ -48,18 +48,18 @@ public: // send performance messages to the voice allocator // message offset is relative to the start of this process_samples() block event.offset -= start_index; - voice_allocator::add_event(event); + voice_allocator::add_event(event); m_event_queue.erase(m_event_queue.begin()); } - voice_allocator::process_samples(_outputs, start_index, block_size); + voice_allocator::process_samples(_outputs, start_index, block_size); samples_remaining -= block_size; start_index += block_size; } - m_voices_active = voice_allocator::voices_active(); + m_voices_active = voice_allocator::voices_active(); flush_event_queue(_n_frames); } else {