summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_source.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-17 01:48:42 +0000
committerDavid Robillard <d@drobilla.net>2007-07-17 01:48:42 +0000
commitf542fa693cef524c066d9bf632ac6c12263d8fe6 (patch)
tree47d90d349ff8caa53b5b2ab6a2fedb196b072d42 /libs/ardour/midi_source.cc
parent37c74810d22f6ef392366e40a9f03dd8da16da18 (diff)
Midi pencil undo (not yet serializable).
Formatting fixes for session.h (ie kill more of those damned 8 space expanded tabs). git-svn-id: svn://localhost/ardour2/trunk@2135 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_source.cc')
-rw-r--r--libs/ardour/midi_source.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/midi_source.cc b/libs/ardour/midi_source.cc
index a346bfd4f2..f2a3121be2 100644
--- a/libs/ardour/midi_source.cc
+++ b/libs/ardour/midi_source.cc
@@ -44,7 +44,7 @@ sigc::signal<void,MidiSource *> MidiSource::MidiSourceCreated;
MidiSource::MidiSource (Session& s, string name)
: Source (s, name, DataType::MIDI)
- , _model(new MidiModel())
+ , _model(new MidiModel(s))
, _model_loaded (false)
{
_read_data_count = 0;
@@ -53,7 +53,7 @@ MidiSource::MidiSource (Session& s, string name)
MidiSource::MidiSource (Session& s, const XMLNode& node)
: Source (s, node)
- , _model(new MidiModel())
+ , _model(new MidiModel(s))
, _model_loaded (false)
{
_read_data_count = 0;