X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Faudio_panel.h;h=47deaf261e6777f5e48143b28674f401a495f3ed;hb=aeb835a18c8df347e0ed68fb24631b320abeb611;hp=02faf6cd47c6f0ba7b7232738f739c9a12ce2604;hpb=e8c5f14cb6736bdfa3610b2559c6c331c1c56984;p=dcpomatic.git diff --git a/src/wx/audio_panel.h b/src/wx/audio_panel.h index 02faf6cd4..47deaf261 100644 --- a/src/wx/audio_panel.h +++ b/src/wx/audio_panel.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2013 Carl Hetherington + Copyright (C) 2012-2015 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,24 +32,31 @@ class AudioPanel : public ContentSubPanel { public: AudioPanel (ContentPanel *); + ~AudioPanel (); void film_changed (Film::Property); void film_content_changed (int); void content_selection_changed (); - + private: - void gain_calculate_button_clicked (); void show_clicked (); - void stream_changed (); + void gain_calculate_button_clicked (); void mapping_changed (AudioMapping); - void setup_stream_description (); + void setup_description (); + void setup_peak (); + void active_jobs_changed (boost::optional); + void setup_sensitivity (); + void reference_clicked (); + wxCheckBox* _reference; + wxButton* _show; ContentSpinCtrlDouble* _gain; wxButton* _gain_calculate_button; - wxButton* _show; + wxStaticText* _peak; ContentSpinCtrl* _delay; - wxChoice* _stream; - wxStaticText* _description; AudioMappingView* _mapping; + wxStaticText* _description; AudioDialog* _audio_dialog; + + boost::signals2::scoped_connection _mapping_connection; };