+ left->Add (_plot, 1, wxTOP | wxEXPAND, 12);
+ _sample_peak = new wxStaticText (this, wxID_ANY, wxT (""));
+ left->Add (_sample_peak, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP);
+ _true_peak = new wxStaticText (this, wxID_ANY, wxT (""));
+ left->Add (_true_peak, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP);
+ _integrated_loudness = new wxStaticText (this, wxID_ANY, wxT (""));
+ left->Add (_integrated_loudness, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP);
+ _loudness_range = new wxStaticText (this, wxID_ANY, wxT (""));
+ left->Add (_loudness_range, 0, wxTOP, DCPOMATIC_SIZER_Y_GAP);
+
+ lr_sizer->Add (left, 1, wxALL, 12);
+
+ wxBoxSizer* right = new wxBoxSizer (wxVERTICAL);
+
+ {
+ wxStaticText* m = new wxStaticText (this, wxID_ANY, _("Channels"));
+ m->SetFont (subheading_font);
+ right->Add (m, 1, wxALIGN_CENTER_VERTICAL | wxTOP | wxBOTTOM, 16);
+ }
+
+ for (int i = 0; i < _channels; ++i) {
+ _channel_checkbox[i] = new wxCheckBox (this, wxID_ANY, std_to_wx (audio_channel_name (i)));
+ right->Add (_channel_checkbox[i], 0, wxEXPAND | wxALL, 3);
+ _channel_checkbox[i]->Bind (wxEVT_CHECKBOX, boost::bind (&AudioDialog::channel_clicked, this, _1));
+ }
+
+ for (int i = _channels; i < MAX_DCP_AUDIO_CHANNELS; ++i) {
+ _channel_checkbox[i] = 0;
+ }
+
+ {
+ wxStaticText* m = new wxStaticText (this, wxID_ANY, _("Type"));
+ m->SetFont (subheading_font);
+ right->Add (m, 1, wxALIGN_CENTER_VERTICAL | wxTOP, 16);
+ }
+
+ wxString const types[] = {
+ _("Peak"),
+ _("RMS")
+ };
+
+ for (int i = 0; i < AudioPoint::COUNT; ++i) {
+ _type_checkbox[i] = new wxCheckBox (this, wxID_ANY, types[i]);
+ right->Add (_type_checkbox[i], 0, wxEXPAND | wxALL, 3);
+ _type_checkbox[i]->Bind (wxEVT_CHECKBOX, boost::bind (&AudioDialog::type_clicked, this, _1));
+ }
+
+ {
+ wxStaticText* m = new wxStaticText (this, wxID_ANY, _("Smoothing"));
+ m->SetFont (subheading_font);
+ right->Add (m, 1, wxALIGN_CENTER_VERTICAL | wxTOP, 16);
+ }