void set_channel_visible (int c, bool v);
void set_type_visible (int t, bool v);
void set_smoothing (int);
void set_channel_visible (int c, bool v);
void set_type_visible (int t, bool v);
void set_smoothing (int);
void paint ();
void plot_peak (wxGraphicsPath &, int, Metrics const &) const;
void plot_rms (wxGraphicsPath &, int, Metrics const &) const;
float y_for_linear (float, Metrics const &) const;
AudioPoint get_point (int channel, int point) const;
void paint ();
void plot_peak (wxGraphicsPath &, int, Metrics const &) const;
void plot_rms (wxGraphicsPath &, int, Metrics const &) const;
float y_for_linear (float, Metrics const &) const;
AudioPoint get_point (int channel, int point) const;
+ /** peak values keyed by channel */
+ mutable std::map<int, PointList> _peak;
+ /** RMS values keyed by channel */
+ mutable std::map<int, PointList> _rms;
+
+ boost::optional<Point> _cursor;
+