- /* the peak data is setup once and once only
- */
-
- if (!Glib::file_test (_peak_path, Glib::FILE_TEST_EXISTS)) {
- /* the 2nd argument here will be passed
- in to ::peak_path, and is irrelevant
- since our peak file path is fixed and
- not dependent on anything.
- */
- return initialize_peakfile (false, string());
- }
-
- return 0;
+ _peak_path = Glib::build_filename (_session.session_directory().peak_path(), name() + ARDOUR::peakfile_suffix);
+ return initialize_peakfile (string());