diff --git a/libs/ardour/ardour/audiofilesource.h b/libs/ardour/ardour/audiofilesource.h index bad6203bc2..d91280284d 100644 --- a/libs/ardour/ardour/audiofilesource.h +++ b/libs/ardour/ardour/audiofilesource.h @@ -41,8 +41,6 @@ public: std::string construct_peak_filepath (const std::string& audio_path, const bool in_session = false, const bool old_peak_name = false) const; - static void set_peak_dir (const std::string& dir) { peak_dir = dir; } - static bool get_soundfile_info (const std::string& path, SoundFileInfo& _info, std::string& error); bool safe_file_extension (const std::string& path) const { @@ -107,8 +105,6 @@ protected: static Sample* get_interleave_buffer (framecnt_t size); - static std::string peak_dir; - static char bwf_country_code[3]; static char bwf_organization_code[4]; static char bwf_serial_number[13]; diff --git a/libs/ardour/audiofilesource.cc b/libs/ardour/audiofilesource.cc index ed189152e5..a98a43e695 100644 --- a/libs/ardour/audiofilesource.cc +++ b/libs/ardour/audiofilesource.cc @@ -68,8 +68,6 @@ using namespace ARDOUR; using namespace PBD; using namespace Glib; -string AudioFileSource::peak_dir = ""; - PBD::Signal0 AudioFileSource::HeaderPositionOffsetChanged; framecnt_t AudioFileSource::header_position_offset = 0; diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index bb4a8265ef..562db87ef3 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -202,8 +202,6 @@ Session::pre_engine_init (string fullpath) Delivery::disable_panners (); IO::disable_connecting (); - - AudioFileSource::set_peak_dir (_session_dir->peak_path()); } int