X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Faudio_panel.cc;h=15b18828db50c5349669b68e7493c67b2196f9eb;hp=6ac673f4d246641326cf1b60a8c6ea2acb90d845;hb=040889631af47829e8523742bb828788e8f7e138;hpb=d1b4dbb793e2850d032ce3c91f0c91d045ae19dc diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc index 6ac673f4d..15b18828d 100644 --- a/src/wx/audio_panel.cc +++ b/src/wx/audio_panel.cc @@ -58,7 +58,6 @@ using namespace dcpomatic; AudioPanel::AudioPanel (ContentPanel* p) : ContentSubPanel (p, _("Audio")) - , _audio_dialog (0) { } @@ -219,6 +218,7 @@ AudioPanel::film_changed (Film::Property property) } } + void AudioPanel::film_content_changed (int property) { @@ -294,6 +294,7 @@ AudioPanel::film_content_changed (int property) } } + void AudioPanel::gain_calculate_button_clicked () { @@ -325,6 +326,7 @@ AudioPanel::gain_calculate_button_clicked () d->Destroy (); } + void AudioPanel::setup_description () { @@ -337,6 +339,7 @@ AudioPanel::setup_description () checked_set (_description, ac.front()->audio->processing_description(_parent->film())); } + void AudioPanel::mapping_changed (AudioMapping m) { @@ -346,6 +349,7 @@ AudioPanel::mapping_changed (AudioMapping m) } } + void AudioPanel::content_selection_changed () { @@ -363,6 +367,7 @@ AudioPanel::content_selection_changed () setup_sensitivity (); } + void AudioPanel::setup_sensitivity () { @@ -395,6 +400,7 @@ AudioPanel::setup_sensitivity () _description->Enable (!ref && single); } + void AudioPanel::show_clicked () { @@ -412,6 +418,7 @@ AudioPanel::show_clicked () _audio_dialog->Show (); } + /** @return If there is one selected piece of audio content, return its peak value in dB (if known) */ optional AudioPanel::peak () const @@ -433,6 +440,7 @@ AudioPanel::peak () const return peak_dB; } + void AudioPanel::setup_peak () { @@ -461,6 +469,7 @@ AudioPanel::setup_peak () } } + void AudioPanel::active_jobs_changed (optional old_active, optional new_active) { @@ -472,6 +481,7 @@ AudioPanel::active_jobs_changed (optional old_active, optional n } } + void AudioPanel::reference_clicked () { @@ -488,6 +498,7 @@ AudioPanel::reference_clicked () d->set_reference_audio (_reference->GetValue ()); } + void AudioPanel::set_film (shared_ptr) {