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 {