projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more MTC debugging
[ardour.git]
/
libs
/
ardour
/
smf_source.cc
diff --git
a/libs/ardour/smf_source.cc
b/libs/ardour/smf_source.cc
index 57be02b618fa4ba0d0c3f2d167cc770f0f6b70bb..f48fc301f71cd7d77de994c964814a8b91e29d06 100644
(file)
--- a/
libs/ardour/smf_source.cc
+++ b/
libs/ardour/smf_source.cc
@@
-49,16
+49,16
@@
using namespace ARDOUR;
using namespace Glib;
/** Constructor used for new internal-to-session files. File cannot exist. */
using namespace Glib;
/** Constructor used for new internal-to-session files. File cannot exist. */
-SMFSource::SMFSource (Session& s, const ustring& path,
bool embedded,
Source::Flag flags)
+SMFSource::SMFSource (Session& s, const ustring& path, Source::Flag flags)
: Source(s, DataType::MIDI, path, flags)
, MidiSource(s, path)
: Source(s, DataType::MIDI, path, flags)
, MidiSource(s, path)
- , FileSource(s, DataType::MIDI, path,
embedded,
flags)
+ , FileSource(s, DataType::MIDI, path, flags)
, Evoral::SMF()
, _last_ev_time_beats(0.0)
, _last_ev_time_frames(0)
, _smf_last_read_end (0)
{
, Evoral::SMF()
, _last_ev_time_beats(0.0)
, _last_ev_time_frames(0)
, _smf_last_read_end (0)
{
- if (init(_
name
, false)) {
+ if (init(_
path
, false)) {
throw failed_constructor ();
}
throw failed_constructor ();
}
@@
-82,7
+82,7
@@
SMFSource::SMFSource (Session& s, const XMLNode& node, bool must_exist)
throw failed_constructor ();
}
throw failed_constructor ();
}
- if (init(_
name
, true)) {
+ if (init(_
path
, true)) {
throw failed_constructor ();
}
throw failed_constructor ();
}