diff options
author | Robin Gareus <robin@gareus.org> | 2015-09-10 00:48:10 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-09-10 00:55:58 +0200 |
commit | 390ea007c5b6b647e33c924b3429bf49ae83b1ca (patch) | |
tree | 774a07a6132c8c211de95e43a53484be5007ddbf /libs/ardour/ardour/audio_playlist_source.h | |
parent | 78ff3c05a3f5c5d532162b45bdd8857bc402011e (diff) |
rework peakfile handling:
- copy old peak-files to new (do not require re-calc)
- keep old peak-files (for now, backwards compat)
- fix cleanup-sources to remove *new* peak-file
- include channel-number in hash (like it was done before)
see also 624f76b
TODO: add Session > Cleanup > remove/re-create peaks
Diffstat (limited to 'libs/ardour/ardour/audio_playlist_source.h')
-rw-r--r-- | libs/ardour/ardour/audio_playlist_source.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/audio_playlist_source.h b/libs/ardour/ardour/audio_playlist_source.h index 85f29bd79a..a11749f46c 100644 --- a/libs/ardour/ardour/audio_playlist_source.h +++ b/libs/ardour/ardour/audio_playlist_source.h @@ -37,7 +37,7 @@ public: virtual ~AudioPlaylistSource (); bool empty() const; - std::string construct_peak_filepath (const std::string& audio_path) const; + std::string construct_peak_filepath (const std::string& audio_path, bool oldformat = false) const; uint32_t n_channels() const; bool clamped_at_unity () const { return false; } |