diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-10 00:15:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-05-10 00:15:44 +0100 |
| commit | fc96a4b3d6985f28db6bc0e9418e98cc5bec87e3 (patch) | |
| tree | e6866c8006ccf4fb400bfb8e8481a4f1142fb2e3 /src/wx/audio_dialog.h | |
| parent | 55002ca15ba288002aeedf3867fb9d07b7b653f0 (diff) | |
7fd73c0cf1f723896826c77fec3720c5c404d4e8 from master; tidy audio analysis dialogue and add overall peak.
Diffstat (limited to 'src/wx/audio_dialog.h')
| -rw-r--r-- | src/wx/audio_dialog.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wx/audio_dialog.h b/src/wx/audio_dialog.h index b27785292..aef8ea944 100644 --- a/src/wx/audio_dialog.h +++ b/src/wx/audio_dialog.h @@ -29,7 +29,7 @@ class Film; class AudioDialog : public wxDialog { public: - AudioDialog (wxWindow *); + AudioDialog (wxWindow *, boost::shared_ptr<Film> film); void set_content (boost::shared_ptr<AudioContent>); @@ -40,9 +40,13 @@ private: void smoothing_changed (); void try_to_load_analysis (); void analysis_finished (); + void setup_peak_time (); boost::shared_ptr<AudioContent> _content; + boost::shared_ptr<AudioAnalysis> _analysis; + boost::weak_ptr<Film> _film; AudioPlot* _plot; + wxStaticText* _peak_time; wxCheckBox* _channel_checkbox[MAX_DCP_AUDIO_CHANNELS]; wxCheckBox* _type_checkbox[AudioPoint::COUNT]; wxSlider* _smoothing; |
