diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-04 14:51:05 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-04 14:51:05 -0400 |
commit | 4dc63966f0872efe768dad61eb9b8785d06b92d1 (patch) | |
tree | e54104d57d6c2da7840979181368151fd0819c96 /libs/ardour/midi_scene_changer.cc | |
parent | 297e80e020da94a56984b20782584bb1dd96ea34 (diff) |
globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
Diffstat (limited to 'libs/ardour/midi_scene_changer.cc')
-rw-r--r-- | libs/ardour/midi_scene_changer.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/ardour/midi_scene_changer.cc b/libs/ardour/midi_scene_changer.cc index 75d5581ce5..da6fe88331 100644 --- a/libs/ardour/midi_scene_changer.cc +++ b/libs/ardour/midi_scene_changer.cc @@ -41,7 +41,7 @@ MIDISceneChanger::MIDISceneChanger (Session& s) , last_program_message_time (-1) , last_delivered_program (-1) , last_delivered_bank (-1) - + { /* catch any add/remove/clear etc. for all Locations */ _session.locations()->changed.connect_same_thread (*this, boost::bind (&MIDISceneChanger::locations_changed, this)); @@ -63,7 +63,7 @@ MIDISceneChanger::locations_changed () } /** Use the session's list of locations to collect all patch changes. - * + * * This is called whenever the locations change in anyway. */ void @@ -137,7 +137,7 @@ MIDISceneChanger::non_rt_deliver (boost::shared_ptr<MIDISceneChange> msc) non-RT/process context. Using zero means "deliver them as early as possible" (practically speaking, in the next process callback). */ - + MIDIOutputActivity (); /* EMIT SIGNAL */ if ((cnt = msc->get_bank_msb_message (buf, sizeof (buf))) > 0) { @@ -259,7 +259,7 @@ MIDISceneChanger::set_recording (bool yn) } bool -MIDISceneChanger::recording() const +MIDISceneChanger::recording() const { return _session.transport_rolling() && _session.get_record_enabled(); } @@ -283,12 +283,12 @@ MIDISceneChanger::program_change_input (MIDI::Parser& parser, MIDI::byte program if (!recording()) { MIDIInputActivity (); /* EMIT SIGNAL */ - + int bank = -1; if (have_seen_bank_changes) { bank = input_port->channel (channel)->bank(); } - + jump_to (bank, program); return; } |