/*
- Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
+
#include "lib/audio_mapping.h"
#include "content_sub_panel.h"
#include "content_widget.h"
+
class wxSpinCtrlDouble;
class wxButton;
class wxChoice;
class wxStaticText;
class AudioMappingView;
class AudioDialog;
+class LanguageTagWidget;
+
class AudioPanel : public ContentSubPanel
{
void setup_sensitivity ();
void reference_clicked ();
void add_to_grid ();
+ void enable_language_clicked ();
+ void language_changed ();
boost::optional<float> peak () const;
wxCheckBox* _reference;
wxStaticText* _delay_label;
wxStaticText* _delay_ms_label;
ContentSpinCtrl<AudioContent>* _delay;
+ wxCheckBox* _enable_language = nullptr;
+ LanguageTagWidget* _language = nullptr;
AudioMappingView* _mapping;
wxStaticText* _description;
AudioDialog* _audio_dialog;