From 6f205f857b6ace7a63e77384f058eac191bb0de9 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 18 Feb 2020 01:26:20 +0100 Subject: 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. --- libs/ardour/ardour/session.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/ardour/ardour/session.h') 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 unknown_processors () const; + std::list 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. -- cgit v1.2.3