]> git.sesse.net Git - nageru/blobdiff - mainwindow.h
Move H264Encoder into an impl, to avoid header conflicts with Qt.
[nageru] / mainwindow.h
index 4c4c3f0a2c7290c7b8e1c12ef37720d685985398..f768aaa31445ecb9bf92a54f314586d892b78876 100644 (file)
@@ -6,6 +6,8 @@
 #include <vector>
 #include <sys/time.h>
 
+#include "mixer.h"
+
 class GLWidget;
 class QResizeEvent;
 
@@ -14,7 +16,6 @@ class Display;
 class MainWindow;
 }  // namespace Ui
 
-class Mixer;
 class QPushButton;
 
 class MainWindow : public QMainWindow
@@ -26,11 +27,16 @@ public:
        void resizeEvent(QResizeEvent *event) override;
        void mixer_created(Mixer *mixer);
 
+       // Used to release FBOs on the global ResourcePool. Call after the
+       // mixer has been shut down but not destroyed yet.
+       void mixer_shutting_down();
+
 public slots:
        void transition_clicked(int transition_number);
        void channel_clicked(int channel_number);
        void wb_button_clicked(int channel_number);
        void set_transition_names(std::vector<std::string> transition_names);
+       void update_channel_name(Mixer::Output output);
        void cutoff_knob_changed(int value);
        void limiter_threshold_knob_changed(int value);
        void compressor_threshold_knob_changed(int value);