]> git.sesse.net Git - nageru/blobdiff - mainwindow.h
Shorten white_balance_effect in the Lua code.
[nageru] / mainwindow.h
index b88324aa0961a8380fa9423f779e843f2cdba7f9..4c4c3f0a2c7290c7b8e1c12ef37720d685985398 100644 (file)
@@ -4,6 +4,7 @@
 #include <QMainWindow>
 #include <string>
 #include <vector>
+#include <sys/time.h>
 
 class GLWidget;
 class QResizeEvent;
@@ -42,6 +43,7 @@ private:
 
        // Called from the mixer.
        void audio_level_callback(float level_lufs, float peak_db, float global_level_lufs, float range_low_lufs, float range_high_lufs, float auto_gain_staging_db);
+       timeval last_audio_level_callback{0, 0};
 
        Ui::MainWindow *ui;
        QPushButton *transition_btn1, *transition_btn2, *transition_btn3;