GUI and metadata for external audio.
[dcpomatic.git] / src / wx / film_editor.h
index 91bb761e3072698f1f1d1fdaa45802428ed13a54..2890df2441f6afa8be7706d84eff00e9977c072b 100644 (file)
@@ -76,17 +76,19 @@ private:
        void still_duration_changed (wxCommandEvent &);
        void audio_stream_changed (wxCommandEvent &);
        void subtitle_stream_changed (wxCommandEvent &);
+       void use_audio_changed (wxCommandEvent &);
+       void external_audio_changed (wxCommandEvent &);
 
        /* Handle changes to the model */
        void film_changed (Film::Property);
 
        /* Button clicks */
        void edit_filters_clicked (wxCommandEvent &);
-       void change_dcp_range_clicked (wxCommandEvent &);
 
        void set_things_sensitive (bool);
        void setup_formats ();
        void setup_subtitle_control_sensitivity ();
+       void setup_audio_control_sensitivity ();
        void setup_streams ();
        void setup_audio_details ();
        
@@ -130,7 +132,10 @@ private:
        wxButton* _filters_button;
        /** The Film's scaler */
        wxComboBox* _scaler;
+       wxRadioButton* _use_source_audio;
        wxComboBox* _audio_stream;
+       wxRadioButton* _use_external_audio;
+       wxFilePickerCtrl* _external_audio[MAX_AUDIO_CHANNELS];
        /** The Film's audio gain */
        wxSpinCtrl* _audio_gain;
        /** A button to open the gain calculation dialogue */