diff options
author | David Robillard <d@drobilla.net> | 2009-10-25 21:45:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-25 21:45:19 +0000 |
commit | 4c43ef5e1f66dc5edeedbcfdfa8bf51fa4e48c04 (patch) | |
tree | e1eae776456e5ae68d8ed578c0826185129a7b0c /libs/ardour/audiosource.cc | |
parent | 01b761bbaa1dd7af210b20f47530efe31e9edc76 (diff) |
Remove unused source file_changed methods.
git-svn-id: svn://localhost/ardour2/branches/3.0@5917 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audiosource.cc')
-rw-r--r-- | libs/ardour/audiosource.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libs/ardour/audiosource.cc b/libs/ardour/audiosource.cc index 4b9e53b665..883bc0b41b 100644 --- a/libs/ardour/audiosource.cc +++ b/libs/ardour/audiosource.cc @@ -900,22 +900,6 @@ AudioSource::truncate_peakfile () } } -bool -AudioSource::file_changed (ustring path) -{ - struct stat stat_file; - struct stat stat_peak; - - int e1 = stat (path.c_str(), &stat_file); - int e2 = stat (peak_path(path).c_str(), &stat_peak); - - if (!e1 && !e2 && stat_file.st_mtime > stat_peak.st_mtime){ - return true; - } else { - return false; - } -} - nframes_t AudioSource::available_peaks (double zoom_factor) const { |