rework peakfile handling:
authorRobin Gareus <robin@gareus.org>
Wed, 9 Sep 2015 22:48:10 +0000 (00:48 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 9 Sep 2015 22:55:58 +0000 (00:55 +0200)
commit390ea007c5b6b647e33c924b3429bf49ae83b1ca
tree774a07a6132c8c211de95e43a53484be5007ddbf
parent78ff3c05a3f5c5d532162b45bdd8857bc402011e
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
libs/ardour/ardour/audio_playlist_source.h
libs/ardour/ardour/audiofilesource.h
libs/ardour/ardour/audiosource.h
libs/ardour/ardour/session.h
libs/ardour/audio_playlist_source.cc
libs/ardour/audiofilesource.cc
libs/ardour/audiosource.cc
libs/ardour/session.cc
libs/ardour/session_state.cc