- AudioDialog (wxWindow* parent, boost::shared_ptr<Film> film, boost::shared_ptr<Content> content = boost::shared_ptr<Content> ());
+ AudioDialog (wxWindow* parent, boost::shared_ptr<Film> film, boost::weak_ptr<FilmViewer> viewer, boost::shared_ptr<Content> content = boost::shared_ptr<Content>());
void try_to_load_analysis ();
void analysis_finished ();
void setup_statistics ();
void try_to_load_analysis ();
void analysis_finished ();
void setup_statistics ();
/** content to analyse, or 0 to analyse all the film's content */
boost::weak_ptr<Content> _content;
int _channels;
/** content to analyse, or 0 to analyse all the film's content */
boost::weak_ptr<Content> _content;
int _channels;
wxStaticText* _true_peak;
wxStaticText* _integrated_loudness;
wxStaticText* _loudness_range;
wxStaticText* _true_peak;
wxStaticText* _integrated_loudness;
wxStaticText* _loudness_range;
wxCheckBox* _channel_checkbox[MAX_DCP_AUDIO_CHANNELS];
wxCheckBox* _type_checkbox[AudioPoint::COUNT];
wxSlider* _smoothing;
wxCheckBox* _channel_checkbox[MAX_DCP_AUDIO_CHANNELS];
wxCheckBox* _type_checkbox[AudioPoint::COUNT];
wxSlider* _smoothing;