diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-03 15:31:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-03 15:31:21 +0100 |
| commit | f98caf4af896e9be943046b84586da5c2e103f18 (patch) | |
| tree | 993f719e293667c432c95026dc2bfd53d5b84982 /src/wx/audio_dialog.h | |
| parent | 92c377d1b9e781fbb4b1f1b7a76ca7dba0bd637f (diff) | |
Make show audio work on the whole DCP, not individual content.
Diffstat (limited to 'src/wx/audio_dialog.h')
| -rw-r--r-- | src/wx/audio_dialog.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/audio_dialog.h b/src/wx/audio_dialog.h index aef8ea944..b6cc41254 100644 --- a/src/wx/audio_dialog.h +++ b/src/wx/audio_dialog.h @@ -31,7 +31,7 @@ class AudioDialog : public wxDialog public: AudioDialog (wxWindow *, boost::shared_ptr<Film> film); - void set_content (boost::shared_ptr<AudioContent>); + void set_playlist (boost::shared_ptr<const Playlist>); private: void content_changed (int); @@ -42,7 +42,7 @@ private: void analysis_finished (); void setup_peak_time (); - boost::shared_ptr<AudioContent> _content; + boost::shared_ptr<const Playlist> _playlist; boost::shared_ptr<AudioAnalysis> _analysis; boost::weak_ptr<Film> _film; AudioPlot* _plot; @@ -50,6 +50,6 @@ private: wxCheckBox* _channel_checkbox[MAX_DCP_AUDIO_CHANNELS]; wxCheckBox* _type_checkbox[AudioPoint::COUNT]; wxSlider* _smoothing; - boost::signals2::scoped_connection _content_changed_connection; + boost::signals2::scoped_connection _playlist_connection; boost::signals2::scoped_connection _analysis_finished_connection; }; |
