summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-19 14:13:03 +0000
committerDavid Robillard <d@drobilla.net>2009-10-19 14:13:03 +0000
commit16e993e51490bd6082869f7ca4783d56e7bd8bcd (patch)
treeadc6d32de391183781b1266c0fee1c9820d3f9cd /libs
parent8d4bf70c7e40429e0a3ba2686f30c7c38871532f (diff)
Tidy.
git-svn-id: svn://localhost/ardour2/branches/3.0@5796 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-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) {