diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-07-01 18:04:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-07-01 18:04:14 +0100 |
| commit | 92b6430402753a572c33d594ba0745a4e461edf4 (patch) | |
| tree | d9bd040ee243cfe0e1730fc2df18d97adc7f2e8e /src/wx/audio_dialog.h | |
| parent | c5b9ad09ab5eaf032b0816f619ab5d75254e8597 (diff) | |
Re-add show audio button and analyse just that content when it is clicked.
Diffstat (limited to 'src/wx/audio_dialog.h')
| -rw-r--r-- | src/wx/audio_dialog.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/wx/audio_dialog.h b/src/wx/audio_dialog.h index d35cca110..c99261150 100644 --- a/src/wx/audio_dialog.h +++ b/src/wx/audio_dialog.h @@ -17,11 +17,12 @@ */ -#include <boost/shared_ptr.hpp> -#include <boost/signals2.hpp> -#include <wx/wx.h> #include "lib/film.h" #include "lib/audio_analysis.h" +#include "lib/playlist.h" +#include <wx/wx.h> +#include <boost/shared_ptr.hpp> +#include <boost/signals2.hpp> class AudioPlot; class Film; @@ -29,7 +30,7 @@ class Film; class AudioDialog : public wxDialog { public: - AudioDialog (wxWindow *, boost::shared_ptr<Film> film); + AudioDialog (wxWindow *, boost::shared_ptr<Film> film, boost::shared_ptr<AudioContent> content = boost::shared_ptr<AudioContent> ()); bool Show (bool show = true); @@ -44,6 +45,7 @@ private: boost::shared_ptr<AudioAnalysis> _analysis; boost::weak_ptr<Film> _film; + boost::shared_ptr<const Playlist> _playlist; AudioPlot* _plot; wxStaticText* _peak_time; wxCheckBox* _channel_checkbox[MAX_DCP_AUDIO_CHANNELS]; |
