diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-20 17:34:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-20 21:20:38 +0100 |
| commit | 50cb31af16240b248700dab1484d7f07656c66df (patch) | |
| tree | 393568f3c24506ac6b004346b9ef5101f9fdcf61 /src/wx/audio_dialog.h | |
| parent | edfd92e5554e3389e6456f497f44ca6e866800bf (diff) | |
Various fixes to make audio analysis sort-of work.
Diffstat (limited to 'src/wx/audio_dialog.h')
| -rw-r--r-- | src/wx/audio_dialog.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/wx/audio_dialog.h b/src/wx/audio_dialog.h index db1d74f30..c69baf282 100644 --- a/src/wx/audio_dialog.h +++ b/src/wx/audio_dialog.h @@ -31,20 +31,19 @@ class AudioDialog : public wxDialog public: AudioDialog (wxWindow *); - void set_film (boost::shared_ptr<Film>); + void set_content (boost::shared_ptr<AudioContent>); private: - void film_changed (Film::Property); + void content_changed (int); void channel_clicked (wxCommandEvent &); void type_clicked (wxCommandEvent &); void smoothing_changed (wxScrollEvent &); void try_to_load_analysis (); - boost::shared_ptr<Film> _film; + boost::shared_ptr<AudioContent> _content; AudioPlot* _plot; wxCheckBox* _channel_checkbox[MAX_AUDIO_CHANNELS]; wxCheckBox* _type_checkbox[AudioPoint::COUNT]; wxSlider* _smoothing; - boost::signals2::scoped_connection _film_changed_connection; - boost::signals2::scoped_connection _film_audio_analysis_succeeded_connection; + boost::signals2::scoped_connection _content_changed_connection; }; |
