From f6ed36a457aace0c4f0c542014d8a3fc65c7a852 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 20 Dec 2010 22:51:17 +0000 Subject: Fix more broken whitespace. git-svn-id: svn://localhost/ardour2/branches/3.0@8314 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/midi_state_tracker.cc | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'libs/ardour/midi_state_tracker.cc') diff --git a/libs/ardour/midi_state_tracker.cc b/libs/ardour/midi_state_tracker.cc index cbbf73b682..f5020e08a7 100644 --- a/libs/ardour/midi_state_tracker.cc +++ b/libs/ardour/midi_state_tracker.cc @@ -140,21 +140,20 @@ MidiStateTracker::resolve_notes (MidiSource& src, Evoral::MusicalTime time) return; } - /* NOTE: the src must be locked */ + /* NOTE: the src must be locked */ for (int channel = 0; channel < 16; ++channel) { for (int note = 0; note < 128; ++note) { while (_active_notes[note + 128 * channel]) { - Evoral::MIDIEvent ev ((MIDI_CMD_NOTE_OFF|channel), time, 3, 0, true); - ev.set_type (MIDI_CMD_NOTE_OFF); - ev.set_channel (channel); - ev.set_note (note); - ev.set_velocity (0); - src.append_event_unlocked_beats (ev); + Evoral::MIDIEvent ev ((MIDI_CMD_NOTE_OFF|channel), time, 3, 0, true); + ev.set_type (MIDI_CMD_NOTE_OFF); + ev.set_channel (channel); + ev.set_note (note); + ev.set_velocity (0); + src.append_event_unlocked_beats (ev); _active_notes[note + 128 * channel]--; - /* don't stack events up at the same time - */ - time += 1.0/128.0; + /* don't stack events up at the same time */ + time += 1.0/128.0; } } } -- cgit v1.2.3