diff options
author | David Robillard <d@drobilla.net> | 2006-09-19 03:29:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-09-19 03:29:16 +0000 |
commit | 7bd41538d951c3e476655df741adfbebbb990bde (patch) | |
tree | f9988f959571c75535341ab1de463b7cfc5209e3 /libs/ardour/smf_source.cc | |
parent | c7307c09b8584b15610f0b29a40f839d9183419a (diff) |
Merged with trunk R920.
git-svn-id: svn://localhost/ardour2/branches/midi@921 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/smf_source.cc')
-rw-r--r-- | libs/ardour/smf_source.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/smf_source.cc b/libs/ardour/smf_source.cc index e1845a009f..0e3064503a 100644 --- a/libs/ardour/smf_source.cc +++ b/libs/ardour/smf_source.cc @@ -48,8 +48,8 @@ bool SMFSource::header_position_negative; uint64_t SMFSource::header_position_offset; */ -SMFSource::SMFSource (std::string path, Flag flags) - : MidiSource (region_name_from_path(path)) +SMFSource::SMFSource (Session& s, std::string path, Flag flags) + : MidiSource (s, region_name_from_path(path)) , _channel(0) , _flags (Flag(flags | Writable)) // FIXME: this needs to be writable for now , _allow_remove_if_empty(true) @@ -72,8 +72,8 @@ SMFSource::SMFSource (std::string path, Flag flags) assert(_name.find("/") == string::npos); } -SMFSource::SMFSource (const XMLNode& node) - : MidiSource (node) +SMFSource::SMFSource (Session& s, const XMLNode& node) + : MidiSource (s, node) , _channel(0) , _flags (Flag (Writable|CanRename)) , _allow_remove_if_empty(true) |