git-svn-id: svn://localhost/ardour2/branches/3.0@5796 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard
2009-10-19 14:13:03 +00:00
parent 8d4bf70c7e
commit 16e993e514
2 changed files with 6 additions and 8 deletions

View File

@@ -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

View File

@@ -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) {