remove _file_path member from Evoral::SMF

This commit is contained in:
Paul Davis 2015-04-20 15:44:20 -04:00
parent ced4378d09
commit d263cf7ded
4 changed files with 12 additions and 29 deletions

View file

@ -546,7 +546,7 @@ SMFSource::mark_midi_streaming_write_completed (const Lock& lm, Evoral::Sequence
_model->set_edited(false);
}
Evoral::SMF::end_write ();
Evoral::SMF::end_write (_path);
/* data in the file now, not removable */
@ -726,7 +726,7 @@ SMFSource::flush_midi (const Lock& lock)
ensure_disk_file (lock);
Evoral::SMF::end_write ();
Evoral::SMF::end_write (_path);
/* data in the file means its no longer removable */
mark_nonremovable ();
@ -737,7 +737,6 @@ void
SMFSource::set_path (const string& p)
{
FileSource::set_path (p);
SMF::set_path (_path);
}
/** Ensure that this source has some file on disk, even if it's just a SMF header */