summaryrefslogtreecommitdiff
path: root/src/wx/audio_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-05-08 23:24:51 +0200
committerCarl Hetherington <cth@carlh.net>2022-05-08 23:25:42 +0200
commit1c9a65e90d05f02e1fd4914268435a9c2274459e (patch)
tree48a7276f759da5fa890c9532ad4fe2937aefb356 /src/wx/audio_panel.h
parent530f42305826fa96dc8fd807f44ac83a5b7866c4 (diff)
Speed up content selection when we have audio analysis files (#2247).
Diffstat (limited to 'src/wx/audio_panel.h')
-rw-r--r--src/wx/audio_panel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/audio_panel.h b/src/wx/audio_panel.h
index 213ad4cb7..e3a294955 100644
--- a/src/wx/audio_panel.h
+++ b/src/wx/audio_panel.h
@@ -83,4 +83,6 @@ private:
boost::signals2::scoped_connection _mapping_connection;
boost::signals2::scoped_connection _active_jobs_connection;
+
+ static std::map<boost::filesystem::path, float> _peak_cache;
};