]> git.sesse.net Git - nageru/blobdiff - analyzer.h
Make it possible for the user to select Rec. 601/709 for each input from the UI.
[nageru] / analyzer.h
index 6c7490653b506de489436d60c78cab985d99a873..71c061288a97106fe615a4cb06c0193eca9a5ed0 100644 (file)
@@ -5,8 +5,12 @@
 #include <QMainWindow>
 #include <QString>
 
+#include <string>
+
 #include <epoxy/gl.h>
 
+#include "mixer.h"
+
 class QObject;
 class QOpenGLContext;
 class QSurface;
@@ -26,12 +30,17 @@ class Analyzer : public QMainWindow
 public:
        Analyzer();
        ~Analyzer();
+       void update_channel_name(Mixer::Output output, const std::string &name);
        void mixer_shutting_down();
 
+public slots:
+       void relayout();
+
 private:
        void grab_clicked();
        void signal_changed();
        bool eventFilter(QObject *watched, QEvent *event) override;
+       void resizeEvent(QResizeEvent *event) override;
 
        Ui::Analyzer *ui;
        QSurface *surface;