diff --git a/libs/ardour/ardour/export_analysis.h b/libs/ardour/ardour/export_analysis.h index 9bebf53cd6..903834d16c 100644 --- a/libs/ardour/ardour/export_analysis.h +++ b/libs/ardour/ardour/export_analysis.h @@ -52,6 +52,7 @@ public: b = std::max (100, b); width = std::max (800, width); + peaks.resize (2); peaks[0].resize (w); peaks[1].resize (width); spectrum.resize (width); @@ -135,8 +136,8 @@ public: uint32_t n_samples; uint32_t freq[6]; // y-pos, 50, 100, 500, 1k, 5k, 10k [Hz] - std::vector peaks[2]; - std::vector> spectrum; + std::vector > peaks; + std::vector > spectrum; float* lgraph_i; float* lgraph_s;