summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/ardour/midi_model.h12
-rw-r--r--libs/ardour/io.cc2
2 files changed, 6 insertions, 8 deletions
diff --git a/libs/ardour/ardour/midi_model.h b/libs/ardour/ardour/midi_model.h
index 6c7e26119a..6496fd169a 100644
--- a/libs/ardour/ardour/midi_model.h
+++ b/libs/ardour/ardour/midi_model.h
@@ -69,7 +69,7 @@ public:
void operator()();
void undo();
-
+
int set_state (const XMLNode&, int version);
XMLNode& get_state ();
@@ -113,7 +113,7 @@ public:
void operator()();
void undo();
-
+
int set_state (const XMLNode&, int version);
XMLNode& get_state ();
@@ -128,13 +128,13 @@ public:
struct NotePropertyChange {
DiffCommand::Property property;
- boost::shared_ptr<Evoral::Note<TimeType> > note;
+ boost::shared_ptr< Evoral::Note<TimeType> > note;
union {
- uint8_t old_value;
+ uint8_t old_value;
TimeType old_time;
};
union {
- uint8_t new_value;
+ uint8_t new_value;
TimeType new_time;
};
};
@@ -151,8 +151,6 @@ public:
void apply_command(Session& session, Command* cmd);
void apply_command_as_subcommand(Session& session, Command* cmd);
-
-
bool write_to(boost::shared_ptr<MidiSource> source);
// MidiModel doesn't use the normal AutomationList serialisation code
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc
index 5bb51bfa18..9da93848f0 100644
--- a/libs/ardour/io.cc
+++ b/libs/ardour/io.cc
@@ -745,7 +745,7 @@ IO::get_port_counts_2X (XMLNode const & node, int version, ChanCount& n, boost::
XMLNodeList children = node.children ();
uint32_t n_audio = 0;
-
+
for (XMLNodeIterator i = children.begin(); i != children.end(); ++i) {
if ((prop = node.property ("inputs")) != 0 && _direction == Input) {