diff options
author | Carl Hetherington <carl@carlh.net> | 2011-05-08 23:45:33 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-05-08 23:45:33 +0000 |
commit | d7c836dc07c657efda2651435125162791c29fd4 (patch) | |
tree | 512f84c0687910776ea8c04d2bc7e70bc839e651 /libs/ardour/ardour/smf_source.h | |
parent | d901dbccc912314b54494fab068785c188884fe4 (diff) |
Ensure that empty drag-created MIDI regions get a file on disk so that there aren't missing file errors on reload (#4024).
git-svn-id: svn://localhost/ardour2/branches/3.0@9486 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/smf_source.h')
-rw-r--r-- | libs/ardour/ardour/smf_source.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/ardour/smf_source.h b/libs/ardour/ardour/smf_source.h index e2f36b07ec..5e54c1580a 100644 --- a/libs/ardour/ardour/smf_source.h +++ b/libs/ardour/ardour/smf_source.h @@ -64,6 +64,7 @@ public: void destroy_model (); void flush_midi (); + void ensure_disk_file (); static void set_header_position_offset (framecnt_t offset, bool negative); |