summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_model.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-15 03:21:30 +0000
committerDavid Robillard <d@drobilla.net>2009-02-15 03:21:30 +0000
commit9462374e29596fde2180b0e38b8aaec3b0a3f01e (patch)
tree8fc88529af5be3a854c4c952985b796d9c121edf /libs/ardour/midi_model.cc
parent74ff55f835656f617f1c508508cda49ac5836c91 (diff)
Session XML style consistency (tag names are capitalized).
One thing left, this weird "end-marker-is-free" in <Config>. Is this really a config option? Anyone? git-svn-id: svn://localhost/ardour2/branches/3.0@4577 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_model.cc')
-rw-r--r--libs/ardour/midi_model.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/midi_model.cc b/libs/ardour/midi_model.cc
index 0b38ad06a8..4e755d8717 100644
--- a/libs/ardour/midi_model.cc
+++ b/libs/ardour/midi_model.cc
@@ -114,7 +114,7 @@ MidiModel::DeltaCommand::operator()()
// Store the current seek position so we can restore the read iterator
// after modifying the contents of the model
- const double read_time = _model->read_time();
+ const TimeType read_time = _model->read_time();
for (NoteList::iterator i = _added_notes.begin(); i != _added_notes.end(); ++i)
_model->add_note_unlocked(*i);
@@ -139,7 +139,7 @@ MidiModel::DeltaCommand::undo()
// Store the current seek position so we can restore the read iterator
// after modifying the contents of the model
- const double read_time = _model->read_time();
+ const TimeType read_time = _model->read_time();
for (NoteList::iterator i = _added_notes.begin(); i != _added_notes.end(); ++i)
_model->remove_note_unlocked(*i);
@@ -181,7 +181,7 @@ MidiModel::DeltaCommand::marshal_note(const boost::shared_ptr< Evoral::Note<Time
return *xml_note;
}
-boost::shared_ptr< Evoral::Note<double> >
+boost::shared_ptr< Evoral::Note<MidiModel::TimeType> >
MidiModel::DeltaCommand::unmarshal_note(XMLNode *xml_note)
{
unsigned int note;