From d5be54080fa25e45e8bf441e9c72e53ffa3daa72 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 20 Apr 2015 16:31:06 -0400 Subject: add a pure virtual FileSource::close() method so that FileSource::set_path() can ensure we no longer have a handle open --- libs/ardour/smf_source.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libs/ardour/smf_source.cc') diff --git a/libs/ardour/smf_source.cc b/libs/ardour/smf_source.cc index d2d96247fc..cc547ed9f5 100644 --- a/libs/ardour/smf_source.cc +++ b/libs/ardour/smf_source.cc @@ -202,6 +202,12 @@ SMFSource::open_for_write () return 0; } +void +SMFSource::close () +{ + /* nothing to do: file descriptor is never kept open */ +} + /** All stamps in audio frames */ framecnt_t SMFSource::read_unlocked (const Lock& lock, -- cgit v1.2.3