|author||Robin Gareus <firstname.lastname@example.org>||2020-02-18 01:26:20 +0100|
|committer||Robin Gareus <email@example.com>||2020-02-18 01:26:20 +0100|
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')
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
@@ -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.