add a pure virtual FileSource::close() method so that FileSource::set_path() can ensure we no longer have a handle open

This commit is contained in:
Paul Davis 2015-04-20 16:31:06 -04:00
parent d263cf7ded
commit d5be54080f
11 changed files with 44 additions and 10 deletions

View file

@ -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,