X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Faudio_dialog.h;h=b277852928d19f53e3849464a0541d24c65288c3;hb=56cdff7fbb1f9c55f9ad3076fcb885e4005189ce;hp=16cb356fe4ad106b8c47782b79ab9295bf2c0df5;hpb=1fadfdf60bb2c02086c2c9689ea44c73bed41571;p=dcpomatic.git diff --git a/src/wx/audio_dialog.h b/src/wx/audio_dialog.h index 16cb356fe..b27785292 100644 --- a/src/wx/audio_dialog.h +++ b/src/wx/audio_dialog.h @@ -31,21 +31,21 @@ class AudioDialog : public wxDialog public: AudioDialog (wxWindow *); - void set_film (boost::shared_ptr); + void set_content (boost::shared_ptr); private: - void film_changed (Film::Property); + void content_changed (int); void channel_clicked (wxCommandEvent &); void type_clicked (wxCommandEvent &); - void smoothing_changed (wxScrollEvent &); + void smoothing_changed (); void try_to_load_analysis (); - void setup_channels (); + void analysis_finished (); - boost::shared_ptr _film; + boost::shared_ptr _content; AudioPlot* _plot; - wxCheckBox* _channel_checkbox[MAX_AUDIO_CHANNELS]; + wxCheckBox* _channel_checkbox[MAX_DCP_AUDIO_CHANNELS]; wxCheckBox* _type_checkbox[AudioPoint::COUNT]; wxSlider* _smoothing; - boost::signals2::scoped_connection _film_changed_connection; - boost::signals2::scoped_connection _film_audio_analysis_finished_connection; + boost::signals2::scoped_connection _content_changed_connection; + boost::signals2::scoped_connection _analysis_finished_connection; };