diff options
author | Robin Gareus <robin@gareus.org> | 2020-02-18 01:26:20 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-02-18 01:26:20 +0100 |
commit | 6f205f857b6ace7a63e77384f058eac191bb0de9 (patch) | |
tree | 00dea7059595e2d25282d7e606381af150e91e0e /libs/ardour/ardour/session.h | |
parent | 2ac90f55984d5011904f1bafe212e91b0a9fd83c (diff) |
Replace missing .mid files with silence
This fixes a crash: missing playlist due to missing .mid,
and retains regions for missing MIDI files.
As opposed to missing Audio, we cannot use a SilentFileSource,
because MIDI files are destructive.
This also adds an API to query missing files that have been replaced
with silence to report them to the user.
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r-- | libs/ardour/ardour/session.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index daaecd8a38..8fe209a552 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -1161,6 +1161,8 @@ public: std::list<std::string> unknown_processors () const; + std::list<std::string> missing_filesources (DataType) const; + /** Emitted when a feedback cycle has been detected within Ardour's signal processing path. Until it is fixed (by the user) some (unspecified) routes will not be run. |