Try to fix build.
[dcpomatic.git] / src / wx / audio_plot.h
index 7eedd8ffe9b869e77d7f588659b687f8d91ac03d..adf11e633030262a62dfa4802f3c3cc5e7bcaf6d 100644 (file)
@@ -23,7 +23,7 @@
 #include "lib/util.h"
 #include "lib/audio_analysis.h"
 
-class Metrics;
+struct Metrics;
 
 class AudioPlot : public wxPanel
 {
@@ -46,7 +46,7 @@ private:
        float y_for_linear (float, Metrics const &) const;
 
        boost::shared_ptr<AudioAnalysis> _analysis;
-       bool _channel_visible[MAX_AUDIO_CHANNELS];
+       bool _channel_visible[MAX_DCP_AUDIO_CHANNELS];
        bool _type_visible[AudioPoint::COUNT];
        /** gain to apply in dB */
        float _gain;