X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mainwindow.h;h=4c4c3f0a2c7290c7b8e1c12ef37720d685985398;hb=5c8dc09f89df0f25434bcefc9102438d2b491df2;hp=317d2929c005550dbc565ce409178012e9fdabe6;hpb=635bc53e064f4cd96d4271a8a28b59b301d5921d;p=nageru diff --git a/mainwindow.h b/mainwindow.h index 317d292..4c4c3f0 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -4,6 +4,7 @@ #include #include #include +#include class GLWidget; class QResizeEvent; @@ -31,6 +32,9 @@ public slots: void wb_button_clicked(int channel_number); void set_transition_names(std::vector transition_names); void cutoff_knob_changed(int value); + void limiter_threshold_knob_changed(int value); + void compressor_threshold_knob_changed(int value); + void reset_meters_button_clicked(); void relayout(); private: @@ -39,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;